minor: add some method doc

viewer-2-initial-appearance
Justin Clark-Casey (justincc) 2010-12-01 22:23:42 +00:00
parent f1a7847532
commit 26569a7cd0
2 changed files with 22 additions and 0 deletions

View File

@ -399,6 +399,14 @@ namespace OpenSim.Region.ClientStack.LindenUDP
return data;
}
/// <summary>
/// Queue an outgoing packet if appropriate.
/// </summary>
/// <param name="packet"></param>
/// <returns>
/// true if the packet has been queued,
/// false if the packet has not been queued and should be sent immediately.
/// </returns>
public bool EnqueueOutgoing(OutgoingPacket packet)
{
int category = (int)packet.Category;

View File

@ -312,6 +312,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
}
}
/// <summary>
/// Start the process of sending a packet to the client.
/// </summary>
/// <param name="udpClient"></param>
/// <param name="packet"></param>
/// <param name="category"></param>
/// <param name="allowSplitting"></param>
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
}
}
/// <summary>
/// Start the process of sending a packet to the client.
/// </summary>
/// <param name="udpClient"></param>
/// <param name="data"></param>
/// <param name="type"></param>
/// <param name="category"></param>
public void SendPacketData(LLUDPClient udpClient, byte[] data, PacketType type, ThrottleOutPacketType category)
{
int dataLength = data.Length;