aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/GridServer/GridMessagingModule.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/GridMessagingModule.cs
parent* Upping to interface version 3 - let's see how this goes. (diff)
downloadopensim-SC-65d413e5ee1a2e7e46806039d667fc31063e2a09.zip
opensim-SC-65d413e5ee1a2e7e46806039d667fc31063e2a09.tar.gz
opensim-SC-65d413e5ee1a2e7e46806039d667fc31063e2a09.tar.bz2
opensim-SC-65d413e5ee1a2e7e46806039d667fc31063e2a09.tar.xz
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.cs9
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);