diff options
author | Melanie | 2009-10-02 19:53:42 +0100 |
---|---|---|
committer | Melanie | 2009-10-02 19:53:42 +0100 |
commit | 9eccea577716ee4331d30d519da389393b8606cd (patch) | |
tree | 2e3f1ad5892a7e1d1dc0155f1613adab8bcd2690 /OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs | |
parent | Merge branch 'master' into vehicles (diff) | |
parent | Merge branch 'master' into diva-textures (diff) | |
download | opensim-SC_OLD-9eccea577716ee4331d30d519da389393b8606cd.zip opensim-SC_OLD-9eccea577716ee4331d30d519da389393b8606cd.tar.gz opensim-SC_OLD-9eccea577716ee4331d30d519da389393b8606cd.tar.bz2 opensim-SC_OLD-9eccea577716ee4331d30d519da389393b8606cd.tar.xz |
Merge branch 'master' into vehicles
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs index 32a4ad4..31f9580 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs | |||
@@ -34,16 +34,18 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
34 | { | 34 | { |
35 | public delegate void PacketStats(int inPackets, int outPackets, int unAckedBytes); | 35 | public delegate void PacketStats(int inPackets, int outPackets, int unAckedBytes); |
36 | public delegate void PacketDrop(Packet pack, Object id); | 36 | public delegate void PacketDrop(Packet pack, Object id); |
37 | public delegate void QueueEmpty(ThrottleOutPacketType queue); | ||
37 | public delegate bool SynchronizeClientHandler(IScene scene, Packet packet, UUID agentID, ThrottleOutPacketType throttlePacketType); | 38 | public delegate bool SynchronizeClientHandler(IScene scene, Packet packet, UUID agentID, ThrottleOutPacketType throttlePacketType); |
38 | 39 | ||
39 | /// <summary> | 40 | /// <summary> |
40 | /// Interface to a class that handles all the activity involved with maintaining the client circuit (handling acks, | 41 | /// Interface to a class that handles all the activity involved with maintaining the client circuit (handling acks, |
41 | /// resends, pings, etc.) | 42 | /// resends, pings, etc.) |
42 | /// </summary> | 43 | /// </summary> |
43 | public interface ILLPacketHandler | 44 | public interface ILLPacketHandler : IDisposable |
44 | { | 45 | { |
45 | event PacketStats OnPacketStats; | 46 | event PacketStats OnPacketStats; |
46 | event PacketDrop OnPacketDrop; | 47 | event PacketDrop OnPacketDrop; |
48 | event QueueEmpty OnQueueEmpty; | ||
47 | SynchronizeClientHandler SynchronizeClient { set; } | 49 | SynchronizeClientHandler SynchronizeClient { set; } |
48 | 50 | ||
49 | int PacketsReceived { get; } | 51 | int PacketsReceived { get; } |
@@ -70,12 +72,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
70 | void OutPacket(Packet NewPack, | 72 | void OutPacket(Packet NewPack, |
71 | ThrottleOutPacketType throttlePacketType, Object id); | 73 | ThrottleOutPacketType throttlePacketType, Object id); |
72 | LLPacketQueue PacketQueue { get; } | 74 | LLPacketQueue PacketQueue { get; } |
73 | void Stop(); | ||
74 | void Flush(); | 75 | void Flush(); |
75 | void Clear(); | 76 | void Clear(); |
76 | ClientInfo GetClientInfo(); | 77 | ClientInfo GetClientInfo(); |
77 | void SetClientInfo(ClientInfo info); | 78 | void SetClientInfo(ClientInfo info); |
78 | void AddImportantPacket(PacketType type); | 79 | void AddImportantPacket(PacketType type); |
79 | void RemoveImportantPacket(PacketType type); | 80 | void RemoveImportantPacket(PacketType type); |
81 | int GetQueueCount(ThrottleOutPacketType queue); | ||
80 | } | 82 | } |
81 | } | 83 | } |