diff options
* Added "show queues" command that shows throttling queues for all clients.
*** This only works for LLCLientView at the moment ***
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 9d6e3af..5ce5235 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -52,7 +52,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
52 | /// Handles new client connections | 52 | /// Handles new client connections |
53 | /// Constructor takes a single Packet and authenticates everything | 53 | /// Constructor takes a single Packet and authenticates everything |
54 | /// </summary> | 54 | /// </summary> |
55 | public class LLClientView : IClientAPI, IClientCore, IClientIM, IClientChat | 55 | public class LLClientView : IClientAPI, IClientCore, IClientIM, IClientChat, IStatsCollector |
56 | { | 56 | { |
57 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 57 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
58 | 58 | ||
@@ -8093,5 +8093,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
8093 | } | 8093 | } |
8094 | } | 8094 | } |
8095 | } | 8095 | } |
8096 | |||
8097 | public string Report() | ||
8098 | { | ||
8099 | LLPacketHandler handler = (LLPacketHandler) m_PacketHandler; | ||
8100 | return handler.PacketQueue.GetStats(); | ||
8101 | } | ||
8096 | } | 8102 | } |
8097 | } | 8103 | } |