mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
A bit more refactoring of the GridServer. To make the "modules" share a common Initialise method.
This commit is contained in:
@@ -34,17 +34,18 @@ namespace OpenSim.Grid.GridServer
|
||||
get { return _MessageServers; }
|
||||
}
|
||||
|
||||
public GridMessagingModule(string opensimVersion, GridDBService gridDBService, IGridCore gridCore, GridConfig config)
|
||||
public GridMessagingModule()
|
||||
{
|
||||
}
|
||||
|
||||
public void Initialise(string opensimVersion, GridDBService gridDBService, IGridCore gridCore, GridConfig config)
|
||||
{
|
||||
m_opensimVersion = opensimVersion;
|
||||
m_gridDBService = gridDBService;
|
||||
m_gridCore = gridCore;
|
||||
m_config = config;
|
||||
m_httpServer = m_gridCore.GetHttpServer();
|
||||
}
|
||||
|
||||
public void Initialise()
|
||||
{
|
||||
m_gridCore.RegisterInterface<IGridMessagingModule>(this);
|
||||
// Message Server ---> Grid Server
|
||||
m_httpServer.AddXmlRPCHandler("register_messageserver", XmlRPCRegisterMessageServer);
|
||||
|
||||
Reference in New Issue
Block a user