aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Grid/GridServer/GridMessagingModule.cs
diff options
context:
space:
mode:
authorMW2009-02-23 19:38:36 +0000
committerMW2009-02-23 19:38:36 +0000
commit03ff84426f2cfeb799c39fa00c74377712ea4c58 (patch)
tree4964d0a0730f9721b2e902643617e959c4d74735 /OpenSim/Grid/GridServer/GridMessagingModule.cs
parentFrom: Christopher Yeoh <yeohc@au1.ibm.com> (diff)
downloadopensim-SC_OLD-03ff84426f2cfeb799c39fa00c74377712ea4c58.zip
opensim-SC_OLD-03ff84426f2cfeb799c39fa00c74377712ea4c58.tar.gz
opensim-SC_OLD-03ff84426f2cfeb799c39fa00c74377712ea4c58.tar.bz2
opensim-SC_OLD-03ff84426f2cfeb799c39fa00c74377712ea4c58.tar.xz
more refactoring of the Grid server, to separate them into modules
Diffstat (limited to 'OpenSim/Grid/GridServer/GridMessagingModule.cs')
-rw-r--r--OpenSim/Grid/GridServer/GridMessagingModule.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Grid/GridServer/GridMessagingModule.cs b/OpenSim/Grid/GridServer/GridMessagingModule.cs
index 2a26f24..16623e7 100644
--- a/OpenSim/Grid/GridServer/GridMessagingModule.cs
+++ b/OpenSim/Grid/GridServer/GridMessagingModule.cs
@@ -71,6 +71,9 @@ namespace OpenSim.Grid.GridServer
71 m_gridDBService = gridDBService; 71 m_gridDBService = gridDBService;
72 m_gridCore = gridCore; 72 m_gridCore = gridCore;
73 m_config = config; 73 m_config = config;
74
75 m_gridCore.RegisterInterface<IGridMessagingModule>(this);
76
74 RegisterHandlers(); 77 RegisterHandlers();
75 } 78 }
76 79
@@ -84,7 +87,6 @@ namespace OpenSim.Grid.GridServer
84 //have these in separate method as some servers restart the http server and reregister all the handlers. 87 //have these in separate method as some servers restart the http server and reregister all the handlers.
85 m_httpServer = m_gridCore.GetHttpServer(); 88 m_httpServer = m_gridCore.GetHttpServer();
86 89
87 m_gridCore.RegisterInterface<IGridMessagingModule>(this);
88 // Message Server ---> Grid Server 90 // Message Server ---> Grid Server
89 m_httpServer.AddXmlRPCHandler("register_messageserver", XmlRPCRegisterMessageServer); 91 m_httpServer.AddXmlRPCHandler("register_messageserver", XmlRPCRegisterMessageServer);
90 m_httpServer.AddXmlRPCHandler("deregister_messageserver", XmlRPCDeRegisterMessageServer); 92 m_httpServer.AddXmlRPCHandler("deregister_messageserver", XmlRPCDeRegisterMessageServer);