diff options
author | Melanie | 2009-10-01 21:08:17 +0100 |
---|---|---|
committer | Melanie | 2009-10-01 21:08:17 +0100 |
commit | 5e9da4daabc49250af9c0ec810b1290c74bad885 (patch) | |
tree | 532821dc84556e6f395545a027fdfcfddf7c8bda /OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs | |
parent | Fixing LLClientView memory leak (diff) | |
download | opensim-SC_OLD-5e9da4daabc49250af9c0ec810b1290c74bad885.zip opensim-SC_OLD-5e9da4daabc49250af9c0ec810b1290c74bad885.tar.gz opensim-SC_OLD-5e9da4daabc49250af9c0ec810b1290c74bad885.tar.bz2 opensim-SC_OLD-5e9da4daabc49250af9c0ec810b1290c74bad885.tar.xz |
Add OnQueueEmpty event to the packet layers. No user functinality yet
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs')
-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 09edc94..5658dba 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs | |||
@@ -31,9 +31,10 @@ using OpenMetaverse.Packets; | |||
31 | using OpenSim.Framework; | 31 | using OpenSim.Framework; |
32 | 32 | ||
33 | namespace OpenSim.Region.ClientStack.LindenUDP | 33 | 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> |
@@ -44,6 +45,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
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; } |
@@ -61,7 +63,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
61 | /// <summary> | 63 | /// <summary> |
62 | /// Take action depending on the type and contents of an received packet. | 64 | /// Take action depending on the type and contents of an received packet. |
63 | /// </summary> | 65 | /// </summary> |
64 | /// <param name="item"></param> | 66 | /// <param name="item"></param> |
65 | void ProcessInPacket(LLQueItem item); | 67 | void ProcessInPacket(LLQueItem item); |
66 | 68 | ||
67 | void ProcessOutPacket(LLQueItem item); | 69 | void ProcessOutPacket(LLQueItem item); |