diff options
Diffstat (limited to 'OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs')
-rw-r--r-- | OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs b/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs index 20eaa3a..043d131 100644 --- a/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs +++ b/OpenSim/Services/Connectors/SimianGrid/SimianGridServiceConnector.cs | |||
@@ -140,7 +140,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
140 | { "ExtraData", OSDParser.SerializeJsonString(extraData) } | 140 | { "ExtraData", OSDParser.SerializeJsonString(extraData) } |
141 | }; | 141 | }; |
142 | 142 | ||
143 | OSDMap response = WebUtil.PostToService(m_ServerURI, requestArgs); | 143 | OSDMap response = SimianGrid.PostToService(m_ServerURI, requestArgs); |
144 | if (response["Success"].AsBoolean()) | 144 | if (response["Success"].AsBoolean()) |
145 | return String.Empty; | 145 | return String.Empty; |
146 | else | 146 | else |
@@ -156,7 +156,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
156 | { "Enabled", "0" } | 156 | { "Enabled", "0" } |
157 | }; | 157 | }; |
158 | 158 | ||
159 | OSDMap response = WebUtil.PostToService(m_ServerURI, requestArgs); | 159 | OSDMap response = SimianGrid.PostToService(m_ServerURI, requestArgs); |
160 | bool success = response["Success"].AsBoolean(); | 160 | bool success = response["Success"].AsBoolean(); |
161 | 161 | ||
162 | if (!success) | 162 | if (!success) |
@@ -203,7 +203,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
203 | 203 | ||
204 | // m_log.DebugFormat("[SIMIAN GRID CONNECTOR] request region with uuid {0}",regionID.ToString()); | 204 | // m_log.DebugFormat("[SIMIAN GRID CONNECTOR] request region with uuid {0}",regionID.ToString()); |
205 | 205 | ||
206 | OSDMap response = WebUtil.PostToService(m_ServerURI, requestArgs); | 206 | OSDMap response = SimianGrid.PostToService(m_ServerURI, requestArgs); |
207 | if (response["Success"].AsBoolean()) | 207 | if (response["Success"].AsBoolean()) |
208 | { | 208 | { |
209 | // m_log.DebugFormat("[SIMIAN GRID CONNECTOR] uuid request successful {0}",response["Name"].AsString()); | 209 | // m_log.DebugFormat("[SIMIAN GRID CONNECTOR] uuid request successful {0}",response["Name"].AsString()); |
@@ -231,7 +231,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
231 | 231 | ||
232 | // m_log.DebugFormat("[SIMIAN GRID CONNECTOR] request grid at {0}",position.ToString()); | 232 | // m_log.DebugFormat("[SIMIAN GRID CONNECTOR] request grid at {0}",position.ToString()); |
233 | 233 | ||
234 | OSDMap response = WebUtil.PostToService(m_ServerURI, requestArgs); | 234 | OSDMap response = SimianGrid.PostToService(m_ServerURI, requestArgs); |
235 | if (response["Success"].AsBoolean()) | 235 | if (response["Success"].AsBoolean()) |
236 | { | 236 | { |
237 | // m_log.DebugFormat("[SIMIAN GRID CONNECTOR] position request successful {0}",response["Name"].AsString()); | 237 | // m_log.DebugFormat("[SIMIAN GRID CONNECTOR] position request successful {0}",response["Name"].AsString()); |
@@ -272,7 +272,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
272 | 272 | ||
273 | // m_log.DebugFormat("[SIMIAN GRID CONNECTOR] request regions with name {0}",name); | 273 | // m_log.DebugFormat("[SIMIAN GRID CONNECTOR] request regions with name {0}",name); |
274 | 274 | ||
275 | OSDMap response = WebUtil.PostToService(m_ServerURI, requestArgs); | 275 | OSDMap response = SimianGrid.PostToService(m_ServerURI, requestArgs); |
276 | if (response["Success"].AsBoolean()) | 276 | if (response["Success"].AsBoolean()) |
277 | { | 277 | { |
278 | // m_log.DebugFormat("[SIMIAN GRID CONNECTOR] found regions with name {0}",name); | 278 | // m_log.DebugFormat("[SIMIAN GRID CONNECTOR] found regions with name {0}",name); |
@@ -310,7 +310,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
310 | //m_log.DebugFormat("[SIMIAN GRID CONNECTOR] request regions by range {0} to {1}",minPosition.ToString(),maxPosition.ToString()); | 310 | //m_log.DebugFormat("[SIMIAN GRID CONNECTOR] request regions by range {0} to {1}",minPosition.ToString(),maxPosition.ToString()); |
311 | 311 | ||
312 | 312 | ||
313 | OSDMap response = WebUtil.PostToService(m_ServerURI, requestArgs); | 313 | OSDMap response = SimianGrid.PostToService(m_ServerURI, requestArgs); |
314 | if (response["Success"].AsBoolean()) | 314 | if (response["Success"].AsBoolean()) |
315 | { | 315 | { |
316 | OSDArray array = response["Scenes"] as OSDArray; | 316 | OSDArray array = response["Scenes"] as OSDArray; |
@@ -361,7 +361,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
361 | { "Enabled", "1" } | 361 | { "Enabled", "1" } |
362 | }; | 362 | }; |
363 | 363 | ||
364 | OSDMap response = WebUtil.PostToService(m_ServerURI, requestArgs); | 364 | OSDMap response = SimianGrid.PostToService(m_ServerURI, requestArgs); |
365 | if (response["Success"].AsBoolean()) | 365 | if (response["Success"].AsBoolean()) |
366 | { | 366 | { |
367 | // m_log.DebugFormat("[SIMIAN GRID CONNECTOR] found regions with name {0}",name); | 367 | // m_log.DebugFormat("[SIMIAN GRID CONNECTOR] found regions with name {0}",name); |
@@ -391,7 +391,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
391 | 391 | ||
392 | m_log.DebugFormat("[SIMIAN GRID CONNECTOR] request region flags for {0}",regionID.ToString()); | 392 | m_log.DebugFormat("[SIMIAN GRID CONNECTOR] request region flags for {0}",regionID.ToString()); |
393 | 393 | ||
394 | OSDMap response = WebUtil.PostToService(m_ServerURI, requestArgs); | 394 | OSDMap response = SimianGrid.PostToService(m_ServerURI, requestArgs); |
395 | if (response["Success"].AsBoolean()) | 395 | if (response["Success"].AsBoolean()) |
396 | { | 396 | { |
397 | OSDMap extraData = response["ExtraData"] as OSDMap; | 397 | OSDMap extraData = response["ExtraData"] as OSDMap; |
@@ -498,7 +498,7 @@ namespace OpenSim.Services.Connectors.SimianGrid | |||
498 | if (onlyEnabled) | 498 | if (onlyEnabled) |
499 | requestArgs["Enabled"] = "1"; | 499 | requestArgs["Enabled"] = "1"; |
500 | 500 | ||
501 | OSDMap response = WebUtil.PostToService(m_ServerURI, requestArgs); | 501 | OSDMap response = SimianGrid.PostToService(m_ServerURI, requestArgs); |
502 | if (response["Success"].AsBoolean()) | 502 | if (response["Success"].AsBoolean()) |
503 | { | 503 | { |
504 | return ResponseToGridRegion(response); | 504 | return ResponseToGridRegion(response); |