From 03ff84426f2cfeb799c39fa00c74377712ea4c58 Mon Sep 17 00:00:00 2001 From: MW Date: Mon, 23 Feb 2009 19:38:36 +0000 Subject: more refactoring of the Grid server, to separate them into modules --- OpenSim/Grid/GridServer/GridMessagingModule.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'OpenSim/Grid/GridServer/GridMessagingModule.cs') 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 m_gridDBService = gridDBService; m_gridCore = gridCore; m_config = config; + + m_gridCore.RegisterInterface(this); + RegisterHandlers(); } @@ -84,7 +87,6 @@ namespace OpenSim.Grid.GridServer //have these in separate method as some servers restart the http server and reregister all the handlers. m_httpServer = m_gridCore.GetHttpServer(); - m_gridCore.RegisterInterface(this); // Message Server ---> Grid Server m_httpServer.AddXmlRPCHandler("register_messageserver", XmlRPCRegisterMessageServer); m_httpServer.AddXmlRPCHandler("deregister_messageserver", XmlRPCDeRegisterMessageServer); -- cgit v1.1