aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/GridServer/GridXmlRpcModule.cs
diff options
context:
space:
mode:
authorMW2009-02-21 14:19:40 +0000
committerMW2009-02-21 14:19:40 +0000
commit65d413e5ee1a2e7e46806039d667fc31063e2a09 (patch)
tree66555194e50683beeb4f9d1c07c8d76dfcc182bf /OpenSim/Grid/GridServer/GridXmlRpcModule.cs
parent* Upping to interface version 3 - let's see how this goes. (diff)
downloadopensim-SC_OLD-65d413e5ee1a2e7e46806039d667fc31063e2a09.zip
opensim-SC_OLD-65d413e5ee1a2e7e46806039d667fc31063e2a09.tar.gz
opensim-SC_OLD-65d413e5ee1a2e7e46806039d667fc31063e2a09.tar.bz2
opensim-SC_OLD-65d413e5ee1a2e7e46806039d667fc31063e2a09.tar.xz
A bit more refactoring of the GridServer. To make the "modules" share a common Initialise method.
Diffstat (limited to '')
-rw-r--r--OpenSim/Grid/GridServer/GridXmlRpcModule.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Grid/GridServer/GridXmlRpcModule.cs b/OpenSim/Grid/GridServer/GridXmlRpcModule.cs
index 0eb7d1f..af83985 100644
--- a/OpenSim/Grid/GridServer/GridXmlRpcModule.cs
+++ b/OpenSim/Grid/GridServer/GridXmlRpcModule.cs
@@ -63,17 +63,18 @@ namespace OpenSim.Grid.GridServer
63 /// <param name="opensimVersion"> 63 /// <param name="opensimVersion">
64 /// Used to notify old regions as to which OpenSim version to upgrade to 64 /// Used to notify old regions as to which OpenSim version to upgrade to
65 /// </param> 65 /// </param>
66 public GridXmlRpcModule(string opensimVersion, GridDBService gridDBService, IGridCore gridCore, GridConfig config) 66 public GridXmlRpcModule()
67 {
68 }
69
70 public void Initialise(string opensimVersion, GridDBService gridDBService, IGridCore gridCore, GridConfig config)
67 { 71 {
68 m_opensimVersion = opensimVersion; 72 m_opensimVersion = opensimVersion;
69 m_gridDBService = gridDBService; 73 m_gridDBService = gridDBService;
70 m_gridCore = gridCore; 74 m_gridCore = gridCore;
71 m_config = config; 75 m_config = config;
72 m_httpServer = m_gridCore.GetHttpServer(); 76 m_httpServer = m_gridCore.GetHttpServer();
73 }
74 77
75 public void Initialise()
76 {
77 m_httpServer.AddXmlRPCHandler("simulator_login", XmlRpcSimulatorLoginMethod); 78 m_httpServer.AddXmlRPCHandler("simulator_login", XmlRpcSimulatorLoginMethod);
78 m_httpServer.AddXmlRPCHandler("simulator_data_request", XmlRpcSimulatorDataRequestMethod); 79 m_httpServer.AddXmlRPCHandler("simulator_data_request", XmlRpcSimulatorDataRequestMethod);
79 m_httpServer.AddXmlRPCHandler("simulator_after_region_moved", XmlRpcDeleteRegionMethod); 80 m_httpServer.AddXmlRPCHandler("simulator_after_region_moved", XmlRpcDeleteRegionMethod);