aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.GridInterfaces/Remote
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim.GridInterfaces/Remote')
-rw-r--r--OpenSim.GridInterfaces/Remote/RemoteGridServer.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim.GridInterfaces/Remote/RemoteGridServer.cs b/OpenSim.GridInterfaces/Remote/RemoteGridServer.cs
index 6a4484f..7f911d8 100644
--- a/OpenSim.GridInterfaces/Remote/RemoteGridServer.cs
+++ b/OpenSim.GridInterfaces/Remote/RemoteGridServer.cs
@@ -161,6 +161,21 @@ namespace OpenSim.GridInterfaces.Remote
161 return null; 161 return null;
162 } 162 }
163 163
164 public override IList RequestMapBlocks(int minX, int minY, int maxX, int maxY)
165 {
166 Hashtable param = new Hashtable();
167 param["xmin"] = minX;
168 param["ymin"] = minY;
169 param["xmax"] = maxX;
170 param["ymax"] = maxY;
171 IList parameters = new ArrayList();
172 parameters.Add(param);
173 XmlRpcRequest req = new XmlRpcRequest("map_block", parameters);
174 XmlRpcResponse resp = req.Send(GridServerUrl, 3000);
175 Hashtable respData = (Hashtable)resp.Value;
176 return (IList)respData["sim-profiles"];
177 }
178
164 public override void SetServerInfo(string ServerUrl, string SendKey, string RecvKey) 179 public override void SetServerInfo(string ServerUrl, string SendKey, string RecvKey)
165 { 180 {
166 this.GridServerUrl = ServerUrl; 181 this.GridServerUrl = ServerUrl;