aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs
diff options
context:
space:
mode:
authorJohn Hurliman2009-10-01 17:53:28 -0700
committerJohn Hurliman2009-10-01 17:53:28 -0700
commitaaf8fbcef910fb43414f0124d41c032a57b8e4b8 (patch)
treeed0b278d424b983f8d8edfb7dc0cda8e2eb2449f /OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs
parent* Rewrote LLImageManager to use a real priority queue and hold minimal state (diff)
parentAdd a method to determine the count of packets in a throttle (diff)
downloadopensim-SC_OLD-aaf8fbcef910fb43414f0124d41c032a57b8e4b8.zip
opensim-SC_OLD-aaf8fbcef910fb43414f0124d41c032a57b8e4b8.tar.gz
opensim-SC_OLD-aaf8fbcef910fb43414f0124d41c032a57b8e4b8.tar.bz2
opensim-SC_OLD-aaf8fbcef910fb43414f0124d41c032a57b8e4b8.tar.xz
Merge branch 'diva-textures-osgrid' of ssh://opensimulator.org/var/git/opensim into diva-textures-osgrid
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs
index 09edc94..31f9580 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/ILLPacketHandler.cs
@@ -31,9 +31,10 @@ using OpenMetaverse.Packets;
31using OpenSim.Framework; 31using OpenSim.Framework;
32 32
33namespace OpenSim.Region.ClientStack.LindenUDP 33namespace 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);
@@ -76,5 +78,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
76 void SetClientInfo(ClientInfo info); 78 void SetClientInfo(ClientInfo info);
77 void AddImportantPacket(PacketType type); 79 void AddImportantPacket(PacketType type);
78 void RemoveImportantPacket(PacketType type); 80 void RemoveImportantPacket(PacketType type);
81 int GetQueueCount(ThrottleOutPacketType queue);
79 } 82 }
80} 83}