aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Communications/OGS1/OGS1GridServices.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
index 3cb2889..5ddad00 100644
--- a/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
+++ b/OpenSim/Region/Communications/OGS1/OGS1GridServices.cs
@@ -34,6 +34,7 @@ namespace OpenSim.Region.Communications.OGS1
34 serversInfo = servers_info; 34 serversInfo = servers_info;
35 httpServer = httpServe; 35 httpServer = httpServe;
36 httpServer.AddXmlRPCHandler("expect_user", this.ExpectUser); 36 httpServer.AddXmlRPCHandler("expect_user", this.ExpectUser);
37 httpServer.AddXmlRPCHandler("check", this.PingCheckReply);
37 this.StartRemoting(); 38 this.StartRemoting();
38 } 39 }
39 40
@@ -248,6 +249,24 @@ namespace OpenSim.Region.Communications.OGS1
248 return respData; 249 return respData;
249 } 250 }
250 251
252 /// <summary>
253 /// A ping / version check
254 /// </summary>
255 /// <param name="request"></param>
256 /// <returns></returns>
257 public XmlRpcResponse PingCheckReply(XmlRpcRequest request)
258 {
259 XmlRpcResponse response = new XmlRpcResponse();
260
261 Hashtable respData = new Hashtable();
262 respData["online"] = "true";
263
264 response.Value = respData;
265
266 return response;
267 }
268
269
251 // Grid Request Processing 270 // Grid Request Processing
252 /// <summary> 271 /// <summary>
253 /// 272 ///