28 using System.Collections.Generic;
30 using System.Reflection;
34 using OpenSim.Framework;
35 using OpenSim.Framework.Servers;
36 using OpenSim.Framework.Servers.HttpServer;
37 using OpenSim.Region.Framework;
38 using OpenSim.Region.Framework.Interfaces;
39 using OpenSim.Region.Framework.Scenes;
40 using OpenSim.Region.PhysicsModules.SharedBase;
41 using OpenSim.Services.Interfaces;
47 private static readonly ILog m_log
48 = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
50 protected Dictionary<EndPoint, uint>
m_clientCircuits =
new Dictionary<EndPoint, uint>();
78 m_log.Error(
"[REGION SERVER]: HTTP Server config failed. HTTP Server and HTTPS server must be on different ports");
81 m_log.InfoFormat(
"[REGION SERVER]: Starting HTTP server on port {0}",
m_httpServerPort);
96 m_log.InfoFormat(
"[REGION SERVER]: Starting HTTPS server on port {0}", server.Port);
97 MainServer.AddHttpServer(server);
105 m_log.InfoFormat(
"[REGION SERVER]: Starting HTTP server on port {0} for external HTTPS", server.Port);
106 MainServer.AddHttpServer(server);
111 base.StartupSpecific();
abstract Scene CreateScene(RegionInfo regionInfo, ISimulationDataService simDataService, IEstateDataService estateDataService, AgentCircuitManager circuitManager)
IEstateDataService EstateDataService
BaseHttpServer m_httpServer
Dictionary< EndPoint, uint > m_clientCircuits
Common base for the main OpenSimServers (user, grid, inventory, region, etc)
Manager for adding, closing and restarting scenes.
override void StartupSpecific()
Must be overriden by child classes for their own server specific startup behaviour.
NetworkServersInfo m_networkServersInfo
ISimulationDataService SimulationDataService
abstract void Initialize()
NetworkServersInfo NetServersInfo
IEstateDataService m_estateDataService
ISimulationDataService m_simulationDataService