aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ClientStack/ClientStackManager.cs3
-rw-r--r--OpenSim/Region/ClientStack/IClientNetworkServer.cs1
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/KillPacket.cs3
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs30
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLFileTransfer.cs10
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs8
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs29
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs9
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs3
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs5
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLUtil.cs1
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs12
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/Tests/MockScene.cs2
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/Tests/PacketHandlerTests.cs2
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLPacketServer.cs2
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs2
-rw-r--r--OpenSim/Region/ClientStack/RegionApplicationBase.cs5
17 files changed, 38 insertions, 89 deletions
diff --git a/OpenSim/Region/ClientStack/ClientStackManager.cs b/OpenSim/Region/ClientStack/ClientStackManager.cs
index f947d06..a7b65cb 100644
--- a/OpenSim/Region/ClientStack/ClientStackManager.cs
+++ b/OpenSim/Region/ClientStack/ClientStackManager.cs
@@ -31,9 +31,6 @@ using System.Reflection;
31using log4net; 31using log4net;
32using Nini.Config; 32using Nini.Config;
33using OpenSim.Framework; 33using OpenSim.Framework;
34using OpenSim.Region.ClientStack;
35using OpenSim.Framework.Communications;
36using OpenSim.Framework.Communications.Cache;
37 34
38namespace OpenSim.Region.ClientStack 35namespace OpenSim.Region.ClientStack
39{ 36{
diff --git a/OpenSim/Region/ClientStack/IClientNetworkServer.cs b/OpenSim/Region/ClientStack/IClientNetworkServer.cs
index 8bd5434..b0749c6 100644
--- a/OpenSim/Region/ClientStack/IClientNetworkServer.cs
+++ b/OpenSim/Region/ClientStack/IClientNetworkServer.cs
@@ -30,7 +30,6 @@ using System.Net.Sockets;
30using Nini.Config; 30using Nini.Config;
31using OpenSim.Framework; 31using OpenSim.Framework;
32using OpenSim.Region.Framework.Scenes; 32using OpenSim.Region.Framework.Scenes;
33using OpenSim.Framework.Communications.Cache;
34 33
35namespace OpenSim.Region.ClientStack 34namespace OpenSim.Region.ClientStack
36{ 35{
diff --git a/OpenSim/Region/ClientStack/LindenUDP/KillPacket.cs b/OpenSim/Region/ClientStack/LindenUDP/KillPacket.cs
index 8197ec7..df6534f 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/KillPacket.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/KillPacket.cs
@@ -25,9 +25,6 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28using System;
29using System.Collections.Generic;
30using System.Text;
31using OpenMetaverse.Packets; 28using OpenMetaverse.Packets;
32 29
33namespace OpenSim.Region.ClientStack.LindenUDP 30namespace OpenSim.Region.ClientStack.LindenUDP
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index a785e64..3b8b48f 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -33,17 +33,16 @@ using System.Text;
33using System.Threading; 33using System.Threading;
34using System.Timers; 34using System.Timers;
35using System.Xml; 35using System.Xml;
36using log4net;
36using OpenMetaverse; 37using OpenMetaverse;
37using OpenMetaverse.Packets; 38using OpenMetaverse.Packets;
38using OpenMetaverse.StructuredData;
39using log4net;
40using OpenSim.Framework; 39using OpenSim.Framework;
41using OpenSim.Framework.Client; 40using OpenSim.Framework.Client;
42using OpenSim.Framework.Communications.Cache; 41using OpenSim.Framework.Communications.Cache;
43using OpenSim.Framework.Statistics; 42using OpenSim.Framework.Statistics;
44using OpenSim.Region.Framework.Interfaces; 43using OpenSim.Region.Framework.Interfaces;
45using OpenSim.Region.Framework.Scenes; 44using OpenSim.Region.Framework.Scenes;
46using Timer = System.Timers.Timer; 45using Timer=System.Timers.Timer;
47 46
48namespace OpenSim.Region.ClientStack.LindenUDP 47namespace OpenSim.Region.ClientStack.LindenUDP
49{ 48{
@@ -474,7 +473,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
474 m_PacketHandler.OnPacketStats += PopulateStats; 473 m_PacketHandler.OnPacketStats += PopulateStats;
475 474
476 RegisterLocalPacketHandlers(); 475 RegisterLocalPacketHandlers();
477 m_imageManager = new LLImageManager(this, m_assetCache,Scene.RequestModuleInterface<OpenSim.Region.Framework.Interfaces.IJ2KDecoder>()); 476 m_imageManager = new LLImageManager(this, m_assetCache,Scene.RequestModuleInterface<IJ2KDecoder>());
478 } 477 }
479 478
480 public void SetDebugPacketLevel(int newDebugPacketLevel) 479 public void SetDebugPacketLevel(int newDebugPacketLevel)
@@ -1230,7 +1229,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1230 fromAgent, toAgent, false, false, false); 1229 fromAgent, toAgent, false, false, false);
1231 } 1230 }
1232 1231
1233 System.Console.WriteLine("SendInstantMessage: " + msg); 1232 Console.WriteLine("SendInstantMessage: " + msg);
1234 } 1233 }
1235 else 1234 else
1236 OutPacket(msg, ThrottleOutPacketType.Task); 1235 OutPacket(msg, ThrottleOutPacketType.Task);
@@ -6857,15 +6856,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
6857 groupTitlesRequest.AgentData.GroupID); 6856 groupTitlesRequest.AgentData.GroupID);
6858 6857
6859 groupTitlesReply.GroupData = 6858 groupTitlesReply.GroupData =
6860 new GroupTitlesReplyPacket. 6859 new GroupTitlesReplyPacket.GroupDataBlock[titles.Count];
6861 GroupDataBlock[titles.Count];
6862 6860
6863 int i = 0; 6861 int i = 0;
6864 foreach (GroupTitlesData d in titles) 6862 foreach (GroupTitlesData d in titles)
6865 { 6863 {
6866 groupTitlesReply.GroupData[i] = 6864 groupTitlesReply.GroupData[i] =
6867 new GroupTitlesReplyPacket. 6865 new GroupTitlesReplyPacket.GroupDataBlock();
6868 GroupDataBlock();
6869 6866
6870 groupTitlesReply.GroupData[i].Title = 6867 groupTitlesReply.GroupData[i].Title =
6871 Utils.StringToBytes(d.Name); 6868 Utils.StringToBytes(d.Name);
@@ -6980,8 +6977,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
6980 groupRolesReply.AgentData.AgentID = AgentId; 6977 groupRolesReply.AgentData.AgentID = AgentId;
6981 6978
6982 groupRolesReply.GroupData = 6979 groupRolesReply.GroupData =
6983 new GroupRoleDataReplyPacket. 6980 new GroupRoleDataReplyPacket.GroupDataBlock();
6984 GroupDataBlock();
6985 6981
6986 groupRolesReply.GroupData.GroupID = 6982 groupRolesReply.GroupData.GroupID =
6987 groupRolesRequest.GroupData.GroupID; 6983 groupRolesRequest.GroupData.GroupID;
@@ -6997,15 +6993,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
6997 titles.Count; 6993 titles.Count;
6998 6994
6999 groupRolesReply.RoleData = 6995 groupRolesReply.RoleData =
7000 new GroupRoleDataReplyPacket. 6996 new GroupRoleDataReplyPacket.RoleDataBlock[titles.Count];
7001 RoleDataBlock[titles.Count];
7002 6997
7003 int i = 0; 6998 int i = 0;
7004 foreach (GroupRolesData d in titles) 6999 foreach (GroupRolesData d in titles)
7005 { 7000 {
7006 groupRolesReply.RoleData[i] = 7001 groupRolesReply.RoleData[i] =
7007 new GroupRoleDataReplyPacket. 7002 new GroupRoleDataReplyPacket.RoleDataBlock();
7008 RoleDataBlock();
7009 7003
7010 groupRolesReply.RoleData[i].RoleID = 7004 groupRolesReply.RoleData[i].RoleID =
7011 d.RoleID; 7005 d.RoleID;
@@ -7051,15 +7045,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
7051 (uint)mappings.Count; 7045 (uint)mappings.Count;
7052 7046
7053 groupRoleMembersReply.MemberData = 7047 groupRoleMembersReply.MemberData =
7054 new GroupRoleMembersReplyPacket. 7048 new GroupRoleMembersReplyPacket.MemberDataBlock[mappings.Count];
7055 MemberDataBlock[mappings.Count];
7056 7049
7057 int i = 0; 7050 int i = 0;
7058 foreach (GroupRoleMembersData d in mappings) 7051 foreach (GroupRoleMembersData d in mappings)
7059 { 7052 {
7060 groupRoleMembersReply.MemberData[i] = 7053 groupRoleMembersReply.MemberData[i] =
7061 new GroupRoleMembersReplyPacket. 7054 new GroupRoleMembersReplyPacket.MemberDataBlock();
7062 MemberDataBlock();
7063 7055
7064 groupRoleMembersReply.MemberData[i].RoleID = 7056 groupRoleMembersReply.MemberData[i].RoleID =
7065 d.RoleID; 7057 d.RoleID;
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLFileTransfer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLFileTransfer.cs
index b801f7a..f79f62e 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLFileTransfer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLFileTransfer.cs
@@ -1,4 +1,4 @@
1/* 1/*
2 * Copyright (c) Contributors, http://opensimulator.org/ 2 * Copyright (c) Contributors, http://opensimulator.org/
3 * See CONTRIBUTORS.TXT for a full list of copyright holders. 3 * See CONTRIBUTORS.TXT for a full list of copyright holders.
4 * 4 *
@@ -27,16 +27,8 @@
27 27
28using System; 28using System;
29using System.Collections.Generic; 29using System.Collections.Generic;
30using System.Text;
31using System.Xml;
32using OpenMetaverse; 30using OpenMetaverse;
33using OpenMetaverse.Packets;
34using OpenSim.Framework; 31using OpenSim.Framework;
35using OpenSim.Framework.Client;
36using OpenSim.Framework.Communications.Cache;
37using OpenSim.Framework.Statistics;
38using OpenSim.Region.Framework.Interfaces;
39using OpenSim.Region.Framework.Scenes;
40 32
41namespace OpenSim.Region.ClientStack.LindenUDP 33namespace OpenSim.Region.ClientStack.LindenUDP
42{ 34{
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs b/OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs
index 43a2e23..6f9e5d3 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLImageManager.cs
@@ -1,4 +1,4 @@
1/* 1/*
2 * Copyright (c) Contributors, http://opensimulator.org/ 2 * Copyright (c) Contributors, http://opensimulator.org/
3 * See CONTRIBUTORS.TXT for a full list of copyright holders. 3 * See CONTRIBUTORS.TXT for a full list of copyright holders.
4 * 4 *
@@ -27,13 +27,11 @@
27 27
28using System; 28using System;
29using System.Collections.Generic; 29using System.Collections.Generic;
30using C5;
30using OpenMetaverse; 31using OpenMetaverse;
32using OpenMetaverse.Imaging;
31using OpenSim.Framework; 33using OpenSim.Framework;
32using OpenSim.Region.Framework.Interfaces; 34using OpenSim.Region.Framework.Interfaces;
33using C5;
34using OpenSim.Framework.Communications.Cache;
35using OpenMetaverse.Imaging;
36
37 35
38namespace OpenSim.Region.ClientStack.LindenUDP 36namespace OpenSim.Region.ClientStack.LindenUDP
39{ 37{
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
index 97d75e1..23118a2 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketHandler.cs
@@ -26,19 +26,14 @@
26 */ 26 */
27 27
28using System; 28using System;
29using System.Collections;
30using System.Collections.Generic; 29using System.Collections.Generic;
31using System.Net;
32using System.Net.Sockets; 30using System.Net.Sockets;
33using System.Threading; 31using System.Threading;
34using System.Timers; 32using System.Timers;
35using System.Reflection;
36using OpenMetaverse; 33using OpenMetaverse;
37using OpenMetaverse.Packets; 34using OpenMetaverse.Packets;
38using Timer = System.Timers.Timer;
39using OpenSim.Framework; 35using OpenSim.Framework;
40using OpenSim.Region.ClientStack.LindenUDP; 36using Timer=System.Timers.Timer;
41using log4net;
42 37
43namespace OpenSim.Region.ClientStack.LindenUDP 38namespace OpenSim.Region.ClientStack.LindenUDP
44{ 39{
@@ -96,7 +91,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
96 private Dictionary<uint, int> m_DupeTracker = 91 private Dictionary<uint, int> m_DupeTracker =
97 new Dictionary<uint, int>(); 92 new Dictionary<uint, int>();
98 private uint m_DupeTrackerWindow = 30; 93 private uint m_DupeTrackerWindow = 30;
99 private int m_DupeTrackerLastCheck = System.Environment.TickCount; 94 private int m_DupeTrackerLastCheck = Environment.TickCount;
100 95
101 // Values for the SimStatsReporter 96 // Values for the SimStatsReporter
102 // 97 //
@@ -164,7 +159,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
164 { 159 {
165 m_Client = client; 160 m_Client = client;
166 m_PacketServer = server; 161 m_PacketServer = server;
167 m_DropSafeTimeout = System.Environment.TickCount + 15000; 162 m_DropSafeTimeout = Environment.TickCount + 15000;
168 163
169 m_PacketQueue = new LLPacketQueue(client.AgentId, userSettings); 164 m_PacketQueue = new LLPacketQueue(client.AgentId, userSettings);
170 165
@@ -225,9 +220,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
225 // acks being appended to the payload, just don't send 220 // acks being appended to the payload, just don't send
226 // any with them until libsl is fixed. 221 // any with them until libsl is fixed.
227 // 222 //
228 if (packet is OpenMetaverse.Packets.ViewerEffectPacket) 223 if (packet is ViewerEffectPacket)
229 return; 224 return;
230 if (packet is OpenMetaverse.Packets.SimStatsPacket) 225 if (packet is SimStatsPacket)
231 return; 226 return;
232 227
233 // Add acks to outgoing packets 228 // Add acks to outgoing packets
@@ -261,7 +256,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
261 item.Packet = packet; 256 item.Packet = packet;
262 item.Incoming = false; 257 item.Incoming = false;
263 item.throttleType = throttlePacketType; 258 item.throttleType = throttlePacketType;
264 item.TickCount = System.Environment.TickCount; 259 item.TickCount = Environment.TickCount;
265 item.Identifier = id; 260 item.Identifier = id;
266 item.Resends = 0; 261 item.Resends = 0;
267 item.Length = packet.ToBytes().Length; 262 item.Length = packet.ToBytes().Length;
@@ -272,7 +267,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
272 267
273 private void ResendUnacked() 268 private void ResendUnacked()
274 { 269 {
275 int now = System.Environment.TickCount; 270 int now = Environment.TickCount;
276 271
277 int intervalMs = 250; 272 int intervalMs = 250;
278 273
@@ -341,7 +336,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
341 } 336 }
342 337
343 m_NeedAck[packet.Header.Sequence].TickCount = 338 m_NeedAck[packet.Header.Sequence].TickCount =
344 System.Environment.TickCount; 339 Environment.TickCount;
345 340
346 QueuePacket(packet, ThrottleOutPacketType.Resend, 341 QueuePacket(packet, ThrottleOutPacketType.Resend,
347 data.Identifier); 342 data.Identifier);
@@ -463,10 +458,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
463 if (m_DupeTracker.Count < 1024) 458 if (m_DupeTracker.Count < 1024)
464 return; 459 return;
465 460
466 if (System.Environment.TickCount - m_DupeTrackerLastCheck < 2000) 461 if (Environment.TickCount - m_DupeTrackerLastCheck < 2000)
467 return; 462 return;
468 463
469 m_DupeTrackerLastCheck = System.Environment.TickCount; 464 m_DupeTrackerLastCheck = Environment.TickCount;
470 465
471 Dictionary<uint, int> packs = 466 Dictionary<uint, int> packs =
472 new Dictionary<uint, int>(m_DupeTracker); 467 new Dictionary<uint, int>(m_DupeTracker);
@@ -673,7 +668,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
673 item.Packet = packet; 668 item.Packet = packet;
674 item.Incoming = false; 669 item.Incoming = false;
675 item.throttleType = 0; 670 item.throttleType = 0;
676 item.TickCount = System.Environment.TickCount; 671 item.TickCount = Environment.TickCount;
677 item.Identifier = 0; 672 item.Identifier = 0;
678 item.Resends = 0; 673 item.Resends = 0;
679 item.Length = packet.ToBytes().Length; 674 item.Length = packet.ToBytes().Length;
@@ -741,7 +736,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
741 m_UnackedBytes += item.Length; 736 m_UnackedBytes += item.Length;
742 737
743 // Keep track of when this packet was sent out 738 // Keep track of when this packet was sent out
744 item.TickCount = System.Environment.TickCount; 739 item.TickCount = Environment.TickCount;
745 740
746 m_NeedAck[packet.Header.Sequence] = item; 741 m_NeedAck[packet.Header.Sequence] = item;
747 } 742 }
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs
index 17c3f97..1c398d9 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketQueue.cs
@@ -27,23 +27,22 @@
27 27
28using System; 28using System;
29using System.Collections.Generic; 29using System.Collections.Generic;
30using System.Reflection;
30using System.Threading; 31using System.Threading;
31using System.Timers; 32using System.Timers;
33using log4net;
32using OpenMetaverse; 34using OpenMetaverse;
33using OpenMetaverse.Packets;
34using OpenSim.Framework; 35using OpenSim.Framework;
35using OpenSim.Framework.Statistics; 36using OpenSim.Framework.Statistics;
36using OpenSim.Framework.Statistics.Interfaces; 37using OpenSim.Framework.Statistics.Interfaces;
37using OpenSim.Region.ClientStack;
38using Timer=System.Timers.Timer; 38using Timer=System.Timers.Timer;
39 39
40
41namespace OpenSim.Region.ClientStack.LindenUDP 40namespace OpenSim.Region.ClientStack.LindenUDP
42{ 41{
43 public class LLPacketQueue : IPullStatsProvider 42 public class LLPacketQueue : IPullStatsProvider
44 { 43 {
45 private static readonly log4net.ILog m_log 44 private static readonly ILog m_log
46 = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); 45 = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
47 46
48 /// <summary> 47 /// <summary>
49 /// Is queueing enabled at all? 48 /// Is queueing enabled at all?
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs
index a42ae04..7305f34 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLPacketServer.cs
@@ -27,12 +27,9 @@
27 27
28using System.Net; 28using System.Net;
29using System.Net.Sockets; 29using System.Net.Sockets;
30using System.Reflection;
31using log4net;
32using OpenMetaverse; 30using OpenMetaverse;
33using OpenMetaverse.Packets; 31using OpenMetaverse.Packets;
34using OpenSim.Framework; 32using OpenSim.Framework;
35using OpenSim.Framework.Communications.Cache;
36 33
37namespace OpenSim.Region.ClientStack.LindenUDP 34namespace OpenSim.Region.ClientStack.LindenUDP
38{ 35{
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
index eb88715..7aea9a3 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPServer.cs
@@ -31,11 +31,10 @@ using System.Collections.Generic;
31using System.Net; 31using System.Net;
32using System.Net.Sockets; 32using System.Net.Sockets;
33using System.Reflection; 33using System.Reflection;
34using OpenMetaverse.Packets;
35using log4net; 34using log4net;
36using Nini.Config; 35using Nini.Config;
36using OpenMetaverse.Packets;
37using OpenSim.Framework; 37using OpenSim.Framework;
38using OpenSim.Framework.Communications.Cache;
39using OpenSim.Region.Framework.Scenes; 38using OpenSim.Region.Framework.Scenes;
40 39
41namespace OpenSim.Region.ClientStack.LindenUDP 40namespace OpenSim.Region.ClientStack.LindenUDP
@@ -304,7 +303,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
304 // the next set of UDP data is for a valid client. 303 // the next set of UDP data is for a valid client.
305 ResetServerEndPoint(e); 304 ResetServerEndPoint(e);
306 } 305 }
307 catch (System.ObjectDisposedException) 306 catch (ObjectDisposedException)
308 { 307 {
309 m_log.Info("[UDPSERVER]: UDP Object disposed. No need to worry about this if you're restarting the simulator."); 308 m_log.Info("[UDPSERVER]: UDP Object disposed. No need to worry about this if you're restarting the simulator.");
310 } 309 }
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUtil.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUtil.cs
index d704967..ca26f5b 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLUtil.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLUtil.cs
@@ -26,7 +26,6 @@
26 */ 26 */
27 27
28using OpenMetaverse; 28using OpenMetaverse;
29using System;
30 29
31namespace OpenSim.Region.ClientStack.LindenUDP 30namespace OpenSim.Region.ClientStack.LindenUDP
32{ 31{
diff --git a/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs b/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs
index b2cf14c..1f564b7 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs
@@ -26,17 +26,13 @@
26 */ 26 */
27 27
28using System.Net; 28using System.Net;
29using System.Threading; 29using log4net.Config;
30using log4net;
31using Nini.Config; 30using Nini.Config;
32using NUnit.Framework; 31using NUnit.Framework;
33using NUnit.Framework.SyntaxHelpers; 32using NUnit.Framework.SyntaxHelpers;
34using OpenMetaverse; 33using OpenMetaverse;
35using OpenMetaverse.Packets; 34using OpenMetaverse.Packets;
36using OpenSim.Framework; 35using OpenSim.Framework;
37using OpenSim.Framework.Communications;
38using OpenSim.Region.ClientStack;
39using OpenSim.Region.ClientStack.LindenUDP;
40 36
41namespace OpenSim.Region.ClientStack.LindenUDP.Tests 37namespace OpenSim.Region.ClientStack.LindenUDP.Tests
42{ 38{
@@ -51,7 +47,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests
51 { 47 {
52 try 48 try
53 { 49 {
54 log4net.Config.XmlConfigurator.Configure(); 50 XmlConfigurator.Configure();
55 } 51 }
56 catch 52 catch
57 { 53 {
@@ -118,7 +114,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests
118 UseCircuitCodePacket uccp = new UseCircuitCodePacket(); 114 UseCircuitCodePacket uccp = new UseCircuitCodePacket();
119 115
120 UseCircuitCodePacket.CircuitCodeBlock uccpCcBlock 116 UseCircuitCodePacket.CircuitCodeBlock uccpCcBlock
121 = new OpenMetaverse.Packets.UseCircuitCodePacket.CircuitCodeBlock(); 117 = new UseCircuitCodePacket.CircuitCodeBlock();
122 uccpCcBlock.Code = circuitCode; 118 uccpCcBlock.Code = circuitCode;
123 uccpCcBlock.ID = agentId; 119 uccpCcBlock.ID = agentId;
124 uccpCcBlock.SessionID = sessionId; 120 uccpCcBlock.SessionID = sessionId;
@@ -169,7 +165,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP.Tests
169 UseCircuitCodePacket uccp = new UseCircuitCodePacket(); 165 UseCircuitCodePacket uccp = new UseCircuitCodePacket();
170 166
171 UseCircuitCodePacket.CircuitCodeBlock uccpCcBlock 167 UseCircuitCodePacket.CircuitCodeBlock uccpCcBlock
172 = new OpenMetaverse.Packets.UseCircuitCodePacket.CircuitCodeBlock(); 168 = new UseCircuitCodePacket.CircuitCodeBlock();
173 uccpCcBlock.Code = myCircuitCode; 169 uccpCcBlock.Code = myCircuitCode;
174 uccpCcBlock.ID = myAgentUuid; 170 uccpCcBlock.ID = myAgentUuid;
175 uccpCcBlock.SessionID = mySessionUuid; 171 uccpCcBlock.SessionID = mySessionUuid;
diff --git a/OpenSim/Region/ClientStack/LindenUDP/Tests/MockScene.cs b/OpenSim/Region/ClientStack/LindenUDP/Tests/MockScene.cs
index 90d7d63..d4e906a 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/Tests/MockScene.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/Tests/MockScene.cs
@@ -25,8 +25,6 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28using System.Xml;
29using Nini.Config;
30using OpenMetaverse; 28using OpenMetaverse;
31using OpenSim.Framework; 29using OpenSim.Framework;
32using OpenSim.Region.Framework.Scenes; 30using OpenSim.Region.Framework.Scenes;
diff --git a/OpenSim/Region/ClientStack/LindenUDP/Tests/PacketHandlerTests.cs b/OpenSim/Region/ClientStack/LindenUDP/Tests/PacketHandlerTests.cs
index d421f82..6e429a4 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/Tests/PacketHandlerTests.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/Tests/PacketHandlerTests.cs
@@ -25,14 +25,12 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28using System.Threading;
29using Nini.Config; 28using Nini.Config;
30using NUnit.Framework; 29using NUnit.Framework;
31using NUnit.Framework.SyntaxHelpers; 30using NUnit.Framework.SyntaxHelpers;
32using OpenMetaverse; 31using OpenMetaverse;
33using OpenMetaverse.Packets; 32using OpenMetaverse.Packets;
34using OpenSim.Framework; 33using OpenSim.Framework;
35using OpenSim.Region.ClientStack.LindenUDP;
36using OpenSim.Tests.Common.Mock; 34using OpenSim.Tests.Common.Mock;
37 35
38namespace OpenSim.Region.ClientStack.LindenUDP.Tests 36namespace OpenSim.Region.ClientStack.LindenUDP.Tests
diff --git a/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLPacketServer.cs b/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLPacketServer.cs
index 507fe82..667014e 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLPacketServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLPacketServer.cs
@@ -26,9 +26,7 @@
26 */ 26 */
27 27
28using System.Collections.Generic; 28using System.Collections.Generic;
29using OpenMetaverse;
30using OpenMetaverse.Packets; 29using OpenMetaverse.Packets;
31using OpenSim.Region.ClientStack.LindenUDP;
32 30
33namespace OpenSim.Region.ClientStack.LindenUDP.Tests 31namespace OpenSim.Region.ClientStack.LindenUDP.Tests
34{ 32{
diff --git a/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs b/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs
index 91fadba..53506d3 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/Tests/TestLLUDPServer.cs
@@ -30,8 +30,6 @@ using System.Collections.Generic;
30using System.Net; 30using System.Net;
31using System.Net.Sockets; 31using System.Net.Sockets;
32using OpenMetaverse.Packets; 32using OpenMetaverse.Packets;
33using OpenSim.Framework;
34using OpenSim.Framework.Communications.Cache;
35 33
36namespace OpenSim.Region.ClientStack.LindenUDP.Tests 34namespace OpenSim.Region.ClientStack.LindenUDP.Tests
37{ 35{
diff --git a/OpenSim/Region/ClientStack/RegionApplicationBase.cs b/OpenSim/Region/ClientStack/RegionApplicationBase.cs
index 24ebd7e..55cf1ae 100644
--- a/OpenSim/Region/ClientStack/RegionApplicationBase.cs
+++ b/OpenSim/Region/ClientStack/RegionApplicationBase.cs
@@ -26,19 +26,16 @@
26 */ 26 */
27 27
28using System.Collections.Generic; 28using System.Collections.Generic;
29using System.IO;
30using System.Net; 29using System.Net;
31using System.Reflection; 30using System.Reflection;
32using OpenMetaverse;
33using log4net; 31using log4net;
34using Nini.Config; 32using Nini.Config;
33using OpenMetaverse;
35using OpenSim.Framework; 34using OpenSim.Framework;
36using OpenSim.Framework.Communications; 35using OpenSim.Framework.Communications;
37using OpenSim.Framework.Communications.Cache;
38using OpenSim.Framework.Servers; 36using OpenSim.Framework.Servers;
39using OpenSim.Region.Framework; 37using OpenSim.Region.Framework;
40using OpenSim.Region.Framework.Scenes; 38using OpenSim.Region.Framework.Scenes;
41using OpenSim.Region.CoreModules;
42using OpenSim.Region.Physics.Manager; 39using OpenSim.Region.Physics.Manager;
43 40
44namespace OpenSim.Region.ClientStack 41namespace OpenSim.Region.ClientStack