From 5958192398bcb48fa5ec4dfd2b2485f798e525a6 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Wed, 16 Jan 2008 03:33:46 +0000 Subject: * Added Packets In/s, Packets Out/s and Current un_acked Packets to the SimStatsReporter * This doesn't take into account the throttler, it just assumes the throttle limit isn't reached. --- OpenSim/Framework/IClientAPI.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Framework/IClientAPI.cs') diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 039526b..046688f 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs @@ -398,6 +398,8 @@ namespace OpenSim.Framework public delegate void FriendActionDelegate(IClientAPI remoteClient,LLUUID agentID,LLUUID transactionID,List callingCardFolders); public delegate void FriendshipTermination(IClientAPI remoteClient,LLUUID agentID, LLUUID ExID); + + public delegate void PacketStats(int inPackets, int outPackets, int unAckedBytes); @@ -501,6 +503,7 @@ namespace OpenSim.Framework event FriendActionDelegate OnApproveFriendRequest; event FriendActionDelegate OnDenyFriendRequest; event FriendshipTermination OnTerminateFriendship; + event PacketStats OnPacketStats; LLVector3 StartPos { get; set; } -- cgit v1.1