From 26569a7cd02a03ea41e8febc69e659b670a9e031 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Wed, 1 Dec 2010 22:23:42 +0000
Subject: minor: add some method doc
---
OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs | 8 ++++++++
OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs | 14 ++++++++++++++
2 files changed, 22 insertions(+)
(limited to 'OpenSim/Region/ClientStack')
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs
index c4db5da..5bf36e6 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs
@@ -399,6 +399,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
return data;
}
+ ///
+ /// Queue an outgoing packet if appropriate.
+ ///
+ ///
+ ///
+ /// true if the packet has been queued,
+ /// false if the packet has not been queued and should be sent immediately.
+ ///
public bool EnqueueOutgoing(OutgoingPacket packet)
{
int category = (int)packet.Category;
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index b5d8ec8..ff4abf8 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -312,6 +312,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
}
}
+ ///
+ /// Start the process of sending a packet to the client.
+ ///
+ ///
+ ///
+ ///
+ ///
public void SendPacket(LLUDPClient udpClient, Packet packet, ThrottleOutPacketType category, bool allowSplitting)
{
// CoarseLocationUpdate packets cannot be split in an automated way
@@ -339,6 +346,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
}
}
+ ///
+ /// Start the process of sending a packet to the client.
+ ///
+ ///
+ ///
+ ///
+ ///
public void SendPacketData(LLUDPClient udpClient, byte[] data, PacketType type, ThrottleOutPacketType category)
{
int dataLength = data.Length;
--
cgit v1.1