diff options
Add a method to determine the count of packets in a throttle
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs index 801e0c5..37f6ca7 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs | |||
@@ -863,5 +863,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
863 | m_PacketQueue.Close(); | 863 | m_PacketQueue.Close(); |
864 | Thread.CurrentThread.Abort(); | 864 | Thread.CurrentThread.Abort(); |
865 | } | 865 | } |
866 | |||
867 | public int GetQueueCount(ThrottleOutPacketType queue) | ||
868 | { | ||
869 | return m_PacketQueue.GetQueueCount(queue); | ||
870 | } | ||
866 | } | 871 | } |
867 | } | 872 | } |