aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
diff options
context:
space:
mode:
authorUbitUmarov2019-04-09 00:25:38 +0100
committerUbitUmarov2019-04-09 00:25:38 +0100
commit2c8e03b589585c1d4b19368f30ccf2806f09cafb (patch)
treecbfb9177a4e778ec6074e21896e6b8493f4565b9 /OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
parentlinux likes other tz names (diff)
downloadopensim-SC-2c8e03b589585c1d4b19368f30ccf2806f09cafb.zip
opensim-SC-2c8e03b589585c1d4b19368f30ccf2806f09cafb.tar.gz
opensim-SC-2c8e03b589585c1d4b19368f30ccf2806f09cafb.tar.bz2
opensim-SC-2c8e03b589585c1d4b19368f30ccf2806f09cafb.tar.xz
testing ...
Diffstat (limited to '')
-rwxr-xr-xOpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs16
1 files changed, 1 insertions, 15 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
index 19535dc..3817830 100755
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
@@ -229,11 +229,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
229 StatVerbosity.Debug)); 229 StatVerbosity.Debug));
230 } 230 }
231 231
232 public virtual bool HandlesRegion(Location x)
233 {
234 return m_udpServer.HandlesRegion(x);
235 }
236
237 public virtual void Start() 232 public virtual void Start()
238 { 233 {
239 m_udpServer.Start(); 234 m_udpServer.Start();
@@ -256,7 +251,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
256 251
257 /// <summary>Maximum transmission unit, or UDP packet size, for the LLUDP protocol</summary> 252 /// <summary>Maximum transmission unit, or UDP packet size, for the LLUDP protocol</summary>
258 public const int MTU = 1400; 253 public const int MTU = 1400;
259 public const int MAXPAYLOAD = 1250; 254 public const int MAXPAYLOAD = 1200;
260 255
261 /// <summary>Number of forced client logouts due to no receipt of packets before timeout.</summary> 256 /// <summary>Number of forced client logouts due to no receipt of packets before timeout.</summary>
262 public int ClientLogoutsDueToNoReceives { get; protected set; } 257 public int ClientLogoutsDueToNoReceives { get; protected set; }
@@ -298,9 +293,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
298 /// <summary>Reference to the scene this UDP server is attached to</summary> 293 /// <summary>Reference to the scene this UDP server is attached to</summary>
299 public Scene Scene { get; protected set; } 294 public Scene Scene { get; protected set; }
300 295
301 /// <summary>The X/Y coordinates of the scene this UDP server is attached to</summary>
302 protected Location m_location;
303
304 /// <summary>The size of the receive buffer for the UDP socket. This value 296 /// <summary>The size of the receive buffer for the UDP socket. This value
305 /// is passed up to the operating system and used in the system networking 297 /// is passed up to the operating system and used in the system networking
306 /// stack. Use zero to leave this value as the default</summary> 298 /// stack. Use zero to leave this value as the default</summary>
@@ -545,7 +537,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
545 } 537 }
546 538
547 Scene = (Scene)scene; 539 Scene = (Scene)scene;
548 m_location = new Location(Scene.RegionInfo.RegionHandle);
549 540
550 OqrEngine = new JobEngine( 541 OqrEngine = new JobEngine(
551 string.Format("Outgoing Queue Refill Engine ({0})", Scene.Name), 542 string.Format("Outgoing Queue Refill Engine ({0})", Scene.Name),
@@ -673,11 +664,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
673 commands.Register(); 664 commands.Register();
674 } 665 }
675 666
676 public bool HandlesRegion(Location x)
677 {
678 return x == m_location;
679 }
680
681 public int GetTotalQueuedOutgoingPackets() 667 public int GetTotalQueuedOutgoingPackets()
682 { 668 {
683 int total = 0; 669 int total = 0;