diff options
Diffstat (limited to 'OpenSim.GridInterfaces/Remote')
-rw-r--r-- | OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs | 2 | ||||
-rw-r--r-- | OpenSim.GridInterfaces/Remote/RemoteGridServer.cs | 22 |
2 files changed, 12 insertions, 12 deletions
diff --git a/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs b/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs index 71fca57..d2f8de1 100644 --- a/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs +++ b/OpenSim.GridInterfaces/Remote/RemoteAssetServer.cs | |||
@@ -7,7 +7,7 @@ using System.Net.Sockets; | |||
7 | using System.IO; | 7 | using System.IO; |
8 | using libsecondlife; | 8 | using libsecondlife; |
9 | using OpenSim.Framework.Interfaces; | 9 | using OpenSim.Framework.Interfaces; |
10 | using OpenSim.Framework.Assets; | 10 | using OpenSim.Framework.Types; |
11 | using OpenSim.Framework.Utilities; | 11 | using OpenSim.Framework.Utilities; |
12 | 12 | ||
13 | namespace OpenSim.GridInterfaces.Remote | 13 | namespace OpenSim.GridInterfaces.Remote |
diff --git a/OpenSim.GridInterfaces/Remote/RemoteGridServer.cs b/OpenSim.GridInterfaces/Remote/RemoteGridServer.cs index 7cd68df..a475471 100644 --- a/OpenSim.GridInterfaces/Remote/RemoteGridServer.cs +++ b/OpenSim.GridInterfaces/Remote/RemoteGridServer.cs | |||
@@ -34,7 +34,7 @@ using System.IO; | |||
34 | using libsecondlife; | 34 | using libsecondlife; |
35 | using Nwc.XmlRpc; | 35 | using Nwc.XmlRpc; |
36 | using OpenSim.Framework.Interfaces; | 36 | using OpenSim.Framework.Interfaces; |
37 | using OpenSim.Framework.Assets; | 37 | using OpenSim.Framework.Types; |
38 | 38 | ||
39 | namespace OpenSim.GridInterfaces.Remote | 39 | namespace OpenSim.GridInterfaces.Remote |
40 | { | 40 | { |
@@ -44,28 +44,28 @@ namespace OpenSim.GridInterfaces.Remote | |||
44 | private string GridSendKey; | 44 | private string GridSendKey; |
45 | private string GridRecvKey; | 45 | private string GridRecvKey; |
46 | private Dictionary<uint, AgentCircuitData> AgentCircuits = new Dictionary<uint, AgentCircuitData>(); | 46 | private Dictionary<uint, AgentCircuitData> AgentCircuits = new Dictionary<uint, AgentCircuitData>(); |
47 | private ArrayList simneighbours = new ArrayList(); | 47 | private ArrayList simneighbours = new ArrayList(); |
48 | private Hashtable griddatahash; | 48 | private Hashtable griddatahash; |
49 | 49 | ||
50 | public override Dictionary<uint, AgentCircuitData> agentcircuits | 50 | public override Dictionary<uint, AgentCircuitData> agentcircuits |
51 | { | 51 | { |
52 | get { return AgentCircuits; } | 52 | get { return AgentCircuits; } |
53 | set { AgentCircuits = value; } | 53 | set { AgentCircuits = value; } |
54 | } | 54 | } |
55 | 55 | ||
56 | public override ArrayList neighbours | 56 | public override ArrayList neighbours |
57 | { | 57 | { |
58 | get { return simneighbours; } | 58 | get { return simneighbours; } |
59 | set { simneighbours = value; } | 59 | set { simneighbours = value; } |
60 | } | 60 | } |
61 | 61 | ||
62 | public override Hashtable GridData | 62 | public override Hashtable GridData |
63 | { | 63 | { |
64 | get { return griddatahash; } | 64 | get { return griddatahash; } |
65 | set { griddatahash = value; } | 65 | set { griddatahash = value; } |
66 | } | 66 | } |
67 | 67 | ||
68 | 68 | ||
69 | public RemoteGridServer() | 69 | public RemoteGridServer() |
70 | { | 70 | { |
71 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Remote Grid Server class created"); | 71 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Remote Grid Server class created"); |
@@ -84,15 +84,15 @@ namespace OpenSim.GridInterfaces.Remote | |||
84 | XmlRpcRequest GridReq = new XmlRpcRequest("simulator_login", SendParams); | 84 | XmlRpcRequest GridReq = new XmlRpcRequest("simulator_login", SendParams); |
85 | XmlRpcResponse GridResp = GridReq.Send(this.GridServerUrl, 3000); | 85 | XmlRpcResponse GridResp = GridReq.Send(this.GridServerUrl, 3000); |
86 | Hashtable GridRespData = (Hashtable)GridResp.Value; | 86 | Hashtable GridRespData = (Hashtable)GridResp.Value; |
87 | this.griddatahash=GridRespData; | 87 | this.griddatahash=GridRespData; |
88 | 88 | ||
89 | if(GridRespData.ContainsKey("error")) { | 89 | if(GridRespData.ContainsKey("error")) { |
90 | string errorstring = (string)GridRespData["error"]; | 90 | string errorstring = (string)GridRespData["error"]; |
91 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Error connecting to grid:"); | 91 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Error connecting to grid:"); |
92 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(errorstring); | 92 | OpenSim.Framework.Console.MainConsole.Instance.WriteLine(errorstring); |
93 | return false; | 93 | return false; |
94 | } | 94 | } |
95 | this.neighbours = (ArrayList)GridRespData["neighbours"]; | 95 | this.neighbours = (ArrayList)GridRespData["neighbours"]; |
96 | Console.WriteLine(simneighbours.Count); | 96 | Console.WriteLine(simneighbours.Count); |
97 | return true; | 97 | return true; |
98 | } | 98 | } |