From fb096dfbd54cfbcfa60be872cee1680eb521dd14 Mon Sep 17 00:00:00 2001 From: MW Date: Mon, 21 Jul 2008 15:13:34 +0000 Subject: added experimental packet tracker (LLPacketTracker.cs), which can be told to track a packet and if it hasn't been acked within a set time, trigger a IClientAPI event, that the application/scene can handle. Currently only terrain packet tracking is finished, Tracking for initial Prim packets (first full update for a prim) is being worked on. Future improvements would be to make it a more generic packet tracker with callback delegates instead of events. Add a test event handler (which would fire after a minute if a terrain packet hadn't been acked) to scene to handle the OnUnackedTerrain event, which currently just resends the terrain patch. The idea of this packet tracking is for the region level application to be able to know if the client stack gave up on sending a packet. --- OpenSim/Framework/Communications/CommunicationsManager.cs | 3 --- 1 file changed, 3 deletions(-) (limited to 'OpenSim/Framework/Communications/CommunicationsManager.cs') diff --git a/OpenSim/Framework/Communications/CommunicationsManager.cs b/OpenSim/Framework/Communications/CommunicationsManager.cs index a45e236..5be7334 100644 --- a/OpenSim/Framework/Communications/CommunicationsManager.cs +++ b/OpenSim/Framework/Communications/CommunicationsManager.cs @@ -125,9 +125,7 @@ namespace OpenSim.Framework.Communications { return invService; } - } - return null; } } @@ -139,7 +137,6 @@ namespace OpenSim.Framework.Communications host = m_defaultInventoryHost; } - lock (m_inventoryServices) { foreach (IInventoryServices service in m_inventoryServices) -- cgit v1.1