From 4e04f6b3a5a875c7d8820c679bcbcdcfba1227bf Mon Sep 17 00:00:00 2001
From: John Hurliman
Date: Wed, 21 Oct 2009 17:02:55 -0700
Subject: * Clarified what FireQueueEmpty is doing with a MIN_CALLBACK_MS
constant and upped it to 30ms * Removed the unused PacketSent() function *
Switched UnackedPacketCollection from a SortedDictionary to a Dictionary now
that the sorting is no longer needed. Big performance improvement for
ResendUnacked()
---
OpenSim/Region/ClientStack/LindenUDP/OpenSimUDPBase.cs | 9 ---------
1 file changed, 9 deletions(-)
(limited to 'OpenSim/Region/ClientStack/LindenUDP/OpenSimUDPBase.cs')
diff --git a/OpenSim/Region/ClientStack/LindenUDP/OpenSimUDPBase.cs b/OpenSim/Region/ClientStack/LindenUDP/OpenSimUDPBase.cs
index d16837d..552cc4a 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/OpenSimUDPBase.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/OpenSimUDPBase.cs
@@ -45,13 +45,6 @@ namespace OpenMetaverse
///
/// Incoming packet buffer
protected abstract void PacketReceived(UDPPacketBuffer buffer);
-
- ///
- /// This method is called when an outgoing packet is sent
- ///
- /// Outgoing packet buffer
- /// Number of bytes written to the wire
- protected abstract void PacketSent(UDPPacketBuffer buffer, int bytesSent);
/// UDP port to bind to in server mode
protected int m_udpPort;
@@ -279,8 +272,6 @@ namespace OpenMetaverse
{
UDPPacketBuffer buf = (UDPPacketBuffer)result.AsyncState;
int bytesSent = m_udpSocket.EndSendTo(result);
-
- PacketSent(buf, bytesSent);
}
catch (SocketException) { }
catch (ObjectDisposedException) { }
--
cgit v1.1