mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
Remove all references to HttpServer from CommsManager (all incarnations)
Change all uses of the HttpServer properties to use the new singleton
This commit is contained in:
@@ -93,7 +93,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Asset
|
||||
|
||||
m_log.Info("[RegionAssetService]: Starting...");
|
||||
|
||||
Object[] args = new Object[] { m_Config, scene.CommsManager.HttpServer };
|
||||
Object[] args = new Object[] { m_Config, MainServer.Instance };
|
||||
|
||||
ServerUtils.LoadPlugin<IServiceConnector>("OpenSim.Server.Handlers.dll:AssetServiceConnector", args);
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Authentication
|
||||
if (!m_Registered)
|
||||
{
|
||||
m_Registered = true;
|
||||
new HGAuthServiceInConnector(m_Config, scene.CommsManager.HttpServer);
|
||||
new HGAuthServiceInConnector(m_Config, MainServer.Instance);
|
||||
|
||||
//Object[] args = new Object[] { m_Config, scene.CommsManager.HttpServer };
|
||||
//ServerUtils.LoadPlugin<IAuthenticationService>("OpenSim.Server.Handlers.dll:HGAuthServiceInConnector", args);
|
||||
|
||||
@@ -93,7 +93,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Inventory
|
||||
|
||||
m_log.Info("[RegionInventoryService]: Starting...");
|
||||
|
||||
Object[] args = new Object[] { m_Config, scene.CommsManager.HttpServer };
|
||||
Object[] args = new Object[] { m_Config, MainServer.Instance };
|
||||
|
||||
ServerUtils.LoadPlugin<IServiceConnector>("OpenSim.Server.Handlers.dll:InventoryServiceInConnector", args);
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Land
|
||||
if (!m_Registered)
|
||||
{
|
||||
m_Registered = true;
|
||||
Object[] args = new Object[] { m_Config, scene.CommsManager.HttpServer, this, scene };
|
||||
Object[] args = new Object[] { m_Config, MainServer.Instance, this, scene };
|
||||
ServerUtils.LoadPlugin<IServiceConnector>("OpenSim.Server.Handlers.dll:LandServiceInConnector", args);
|
||||
}
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Neighbour
|
||||
if (!m_Registered)
|
||||
{
|
||||
m_Registered = true;
|
||||
Object[] args = new Object[] { m_Config, scene.CommsManager.HttpServer, this, scene };
|
||||
Object[] args = new Object[] { m_Config, MainServer.Instance, this, scene };
|
||||
ServerUtils.LoadPlugin<IServiceConnector>("OpenSim.Server.Handlers.dll:NeighbourServiceInConnector", args);
|
||||
}
|
||||
|
||||
|
||||
@@ -93,7 +93,7 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsIn.Simulation
|
||||
|
||||
m_log.Info("[SIM SERVICE]: Starting...");
|
||||
|
||||
Object[] args = new Object[] { m_Config, scene.CommsManager.HttpServer, scene };
|
||||
Object[] args = new Object[] { m_Config, MainServer.Instance, scene };
|
||||
|
||||
ServerUtils.LoadPlugin<IServiceConnector>("OpenSim.Server.Handlers.dll:SimulationServiceInConnector", args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user