diff options
A bit more refactoring of the GridServer. To make the "modules" share a common Initialise method.
Diffstat (limited to 'OpenSim/Grid/GridServer/GridMessagingModule.cs')
-rw-r--r-- | OpenSim/Grid/GridServer/GridMessagingModule.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Grid/GridServer/GridMessagingModule.cs b/OpenSim/Grid/GridServer/GridMessagingModule.cs index 348e56c..bfe65ba 100644 --- a/OpenSim/Grid/GridServer/GridMessagingModule.cs +++ b/OpenSim/Grid/GridServer/GridMessagingModule.cs | |||
@@ -34,17 +34,18 @@ namespace OpenSim.Grid.GridServer | |||
34 | get { return _MessageServers; } | 34 | get { return _MessageServers; } |
35 | } | 35 | } |
36 | 36 | ||
37 | public GridMessagingModule(string opensimVersion, GridDBService gridDBService, IGridCore gridCore, GridConfig config) | 37 | public GridMessagingModule() |
38 | { | ||
39 | } | ||
40 | |||
41 | public void Initialise(string opensimVersion, GridDBService gridDBService, IGridCore gridCore, GridConfig config) | ||
38 | { | 42 | { |
39 | m_opensimVersion = opensimVersion; | 43 | m_opensimVersion = opensimVersion; |
40 | m_gridDBService = gridDBService; | 44 | m_gridDBService = gridDBService; |
41 | m_gridCore = gridCore; | 45 | m_gridCore = gridCore; |
42 | m_config = config; | 46 | m_config = config; |
43 | m_httpServer = m_gridCore.GetHttpServer(); | 47 | m_httpServer = m_gridCore.GetHttpServer(); |
44 | } | ||
45 | 48 | ||
46 | public void Initialise() | ||
47 | { | ||
48 | m_gridCore.RegisterInterface<IGridMessagingModule>(this); | 49 | m_gridCore.RegisterInterface<IGridMessagingModule>(this); |
49 | // Message Server ---> Grid Server | 50 | // Message Server ---> Grid Server |
50 | m_httpServer.AddXmlRPCHandler("register_messageserver", XmlRPCRegisterMessageServer); | 51 | m_httpServer.AddXmlRPCHandler("register_messageserver", XmlRPCRegisterMessageServer); |