aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.GridInterfaces/Remote/RemoteGridServer.cs
diff options
context:
space:
mode:
authormorphw2007-05-20 02:35:23 +0000
committermorphw2007-05-20 02:35:23 +0000
commita0607dadaf0f5be4262b48829f3a64daef965c8c (patch)
treedbdcd25fab016c71e287de4cf45e59c4984ee754 /OpenSim.GridInterfaces/Remote/RemoteGridServer.cs
parentAdd RequestMapBlocks method to GridServer interfaces (diff)
downloadopensim-SC-a0607dadaf0f5be4262b48829f3a64daef965c8c.zip
opensim-SC-a0607dadaf0f5be4262b48829f3a64daef965c8c.tar.gz
opensim-SC-a0607dadaf0f5be4262b48829f3a64daef965c8c.tar.bz2
opensim-SC-a0607dadaf0f5be4262b48829f3a64daef965c8c.tar.xz
Add RequestMapBlocks to local and remote interfaces
Diffstat (limited to '')
-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;