diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs index b857163..6c26784 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs | |||
@@ -36,6 +36,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
36 | public delegate void PacketDrop(Packet pack, Object id); | 36 | public delegate void PacketDrop(Packet pack, Object id); |
37 | public delegate bool SynchronizeClientHandler(IScene scene, Packet packet, UUID agentID, ThrottleOutPacketType throttlePacketType); | 37 | public delegate bool SynchronizeClientHandler(IScene scene, Packet packet, UUID agentID, ThrottleOutPacketType throttlePacketType); |
38 | 38 | ||
39 | /// <summary> | ||
40 | /// Interface to a class that handles all the activity involved with maintaining the client circuit (handling acks, | ||
41 | /// resends, pings, etc.) | ||
42 | /// </summary> | ||
39 | public interface ILLPacketHandler | 43 | public interface ILLPacketHandler |
40 | { | 44 | { |
41 | event PacketStats OnPacketStats; | 45 | event PacketStats OnPacketStats; |
@@ -48,8 +52,18 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
48 | bool ReliableIsImportant { get; set; } | 52 | bool ReliableIsImportant { get; set; } |
49 | int MaxReliableResends { get; set; } | 53 | int MaxReliableResends { get; set; } |
50 | 54 | ||
55 | /// <summary> | ||
56 | /// Initial handling of a received packet. It will be processed later in ProcessInPacket() | ||
57 | /// </summary> | ||
58 | /// <param name="packet"></param> | ||
51 | void InPacket(Packet packet); | 59 | void InPacket(Packet packet); |
60 | |||
61 | /// <summary> | ||
62 | /// Take action depending on the type and contents of an received packet. | ||
63 | /// </summary> | ||
64 | /// <param name="item"></param> | ||
52 | void ProcessInPacket(LLQueItem item); | 65 | void ProcessInPacket(LLQueItem item); |
66 | |||
53 | void ProcessOutPacket(LLQueItem item); | 67 | void ProcessOutPacket(LLQueItem item); |
54 | void OutPacket(Packet NewPack, | 68 | void OutPacket(Packet NewPack, |
55 | ThrottleOutPacketType throttlePacketType); | 69 | ThrottleOutPacketType throttlePacketType); |