diff options
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.cs | 9 |
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); |