mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
Small clean up of files and directories
This commit is contained in:
@@ -34,7 +34,7 @@ using System.IO;
|
||||
using libsecondlife;
|
||||
using Nwc.XmlRpc;
|
||||
using OpenSim.Framework.Interfaces;
|
||||
using OpenSim.Framework.Assets;
|
||||
using OpenSim.Framework.Types;
|
||||
|
||||
namespace OpenSim.GridInterfaces.Remote
|
||||
{
|
||||
@@ -44,28 +44,28 @@ namespace OpenSim.GridInterfaces.Remote
|
||||
private string GridSendKey;
|
||||
private string GridRecvKey;
|
||||
private Dictionary<uint, AgentCircuitData> AgentCircuits = new Dictionary<uint, AgentCircuitData>();
|
||||
private ArrayList simneighbours = new ArrayList();
|
||||
private Hashtable griddatahash;
|
||||
private ArrayList simneighbours = new ArrayList();
|
||||
private Hashtable griddatahash;
|
||||
|
||||
public override Dictionary<uint, AgentCircuitData> agentcircuits
|
||||
{
|
||||
get { return AgentCircuits; }
|
||||
set { AgentCircuits = value; }
|
||||
}
|
||||
|
||||
|
||||
public override ArrayList neighbours
|
||||
{
|
||||
get { return simneighbours; }
|
||||
set { simneighbours = value; }
|
||||
}
|
||||
}
|
||||
|
||||
public override Hashtable GridData
|
||||
{
|
||||
get { return griddatahash; }
|
||||
set { griddatahash = value; }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
public RemoteGridServer()
|
||||
{
|
||||
OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Remote Grid Server class created");
|
||||
@@ -84,15 +84,15 @@ namespace OpenSim.GridInterfaces.Remote
|
||||
XmlRpcRequest GridReq = new XmlRpcRequest("simulator_login", SendParams);
|
||||
XmlRpcResponse GridResp = GridReq.Send(this.GridServerUrl, 3000);
|
||||
Hashtable GridRespData = (Hashtable)GridResp.Value;
|
||||
this.griddatahash=GridRespData;
|
||||
this.griddatahash=GridRespData;
|
||||
|
||||
if(GridRespData.ContainsKey("error")) {
|
||||
string errorstring = (string)GridRespData["error"];
|
||||
OpenSim.Framework.Console.MainConsole.Instance.WriteLine("Error connecting to grid:");
|
||||
OpenSim.Framework.Console.MainConsole.Instance.WriteLine(errorstring);
|
||||
return false;
|
||||
}
|
||||
this.neighbours = (ArrayList)GridRespData["neighbours"];
|
||||
}
|
||||
this.neighbours = (ArrayList)GridRespData["neighbours"];
|
||||
Console.WriteLine(simneighbours.Count);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user