From 119104e35bc02e15a1ce08175ca6408fb8e9f7be Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sun, 21 Dec 2008 00:11:54 +0000 Subject: * Re-implement packet tracking in IClientAPI so we can see what's going on in the client network in the simstats manager. This makes packets in per second, packets out per second, and unacked bytes work again in the simulator stats section. --- OpenSim/Framework/IClientAPI.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'OpenSim/Framework/IClientAPI.cs') diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index a9c05f6..e3163d7 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs @@ -47,9 +47,6 @@ namespace OpenSim.Framework public delegate void ImprovedInstantMessage(IClientAPI remoteclient, GridInstantMessage im); - // This shouldn't be cut down... - // especially if we're ever going to implement groups, presence, estate message dialogs... - public delegate void RezObject(IClientAPI remoteClient, UUID itemID, Vector3 RayEnd, Vector3 RayStart, UUID RayTargetID, byte BypassRayCast, bool RayEndIsIntersection, bool RezSelected, bool RemoveItem, UUID fromTaskID); @@ -63,6 +60,8 @@ namespace OpenSim.Framework float height, float seconds, byte size, byte action, float north, float west, float south, float east, UUID agentId); + public delegate void NetworkStats(int inPackets, int outPackets, int unAckedBytes); + public delegate void SetAppearance(byte[] texture, List visualParamList); public delegate void StartAnim(IClientAPI remoteClient, UUID animID); @@ -722,6 +721,7 @@ namespace OpenSim.Framework event StartLure OnStartLure; event TeleportLureRequest OnTeleportLureRequest; + event NetworkStats OnNetworkStatsUpdate; // void ActivateGesture(UUID assetId, UUID gestureId); -- cgit v1.1