aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Communications/OGS1/OGS1GridServices.cs')
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1GridServices.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
index 1135ddd..eada868 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
@@ -30,15 +30,17 @@ using System.Collections;
30using System.Collections.Generic; 30using System.Collections.Generic;
31using System.Net; 31using System.Net;
32using System.Net.Sockets; 32using System.Net.Sockets;
33using System.Reflection;
33using System.Runtime.Remoting; 34using System.Runtime.Remoting;
34using System.Runtime.Remoting.Channels; 35using System.Runtime.Remoting.Channels;
35using System.Runtime.Remoting.Channels.Tcp; 36using System.Runtime.Remoting.Channels.Tcp;
36using System.Security.Authentication; 37using System.Security.Authentication;
38using System.Threading;
37using libsecondlife; 39using libsecondlife;
40using log4net;
38using Nwc.XmlRpc; 41using Nwc.XmlRpc;
39using OpenSim.Framework; 42using OpenSim.Framework;
40using OpenSim.Framework.Communications; 43using OpenSim.Framework.Communications;
41using OpenSim.Framework.Console;
42using OpenSim.Framework.Servers; 44using OpenSim.Framework.Servers;
43using OpenSim.Region.Communications.Local; 45using OpenSim.Region.Communications.Local;
44 46
@@ -46,7 +48,7 @@ namespace OpenSim.Region.Communications.OGS1
46{ 48{
47 public class OGS1GridServices : IGridServices, IInterRegionCommunications 49 public class OGS1GridServices : IGridServices, IInterRegionCommunications
48 { 50 {
49 private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); 51 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
50 52
51 private LocalBackEndServices m_localBackend = new LocalBackEndServices(); 53 private LocalBackEndServices m_localBackend = new LocalBackEndServices();
52 private Dictionary<ulong, RegionInfo> m_remoteRegionInfoCache = new Dictionary<ulong, RegionInfo>(); 54 private Dictionary<ulong, RegionInfo> m_remoteRegionInfoCache = new Dictionary<ulong, RegionInfo>();
@@ -1461,7 +1463,7 @@ namespace OpenSim.Region.Communications.OGS1
1461 Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp); 1463 Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
1462 IAsyncResult ar = socket.BeginConnect(m_EndPoint, ConnectedMethodCallback, socket); 1464 IAsyncResult ar = socket.BeginConnect(m_EndPoint, ConnectedMethodCallback, socket);
1463 ar.AsyncWaitHandle.WaitOne(timeOut*1000, false); 1465 ar.AsyncWaitHandle.WaitOne(timeOut*1000, false);
1464 System.Threading.Thread.Sleep(500); 1466 Thread.Sleep(500);
1465 } 1467 }
1466 1468
1467 public bool Available 1469 public bool Available