aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim.RegionServer/OpenSimMain.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim.RegionServer/OpenSimMain.cs34
1 files changed, 2 insertions, 32 deletions
diff --git a/OpenSim.RegionServer/OpenSimMain.cs b/OpenSim.RegionServer/OpenSimMain.cs
index f78873d..a333074 100644
--- a/OpenSim.RegionServer/OpenSimMain.cs
+++ b/OpenSim.RegionServer/OpenSimMain.cs
@@ -54,32 +54,8 @@ using OpenSim.GenericConfig;
54namespace OpenSim 54namespace OpenSim
55{ 55{
56 56
57 public class OpenSimMain : conscmd_callback 57 public class OpenSimMain : OpenSimApplication , conscmd_callback
58 { 58 {
59 private IGenericConfig localConfig;
60 //private IGenericConfig remoteConfig;
61 private PhysicsManager physManager;
62 private Grid GridServers;
63 private AssetCache AssetCache;
64 private InventoryCache InventoryCache;
65 private Dictionary<EndPoint, uint> clientCircuits = new Dictionary<EndPoint, uint>();
66 private DateTime startuptime;
67 private RegionInfo regionData;
68
69 private System.Timers.Timer m_heartbeatTimer = new System.Timers.Timer();
70 public string m_physicsEngine;
71 public bool m_sandbox = false;
72 public bool m_loginserver;
73 public bool user_accounts = false;
74 public bool gridLocalAsset = false;
75 private bool configFileSetup = false;
76 public string m_config;
77
78 private UDPServer m_udpServer;
79 protected BaseHttpServer httpServer;
80 private AuthenticateSessionsBase AuthenticateSessionsHandler;
81
82 protected ConsoleBase m_console;
83 59
84 public OpenSimMain(bool sandBoxMode, bool startLoginServer, string physicsEngine, bool useConfigFile, bool silent, string configFile) 60 public OpenSimMain(bool sandBoxMode, bool startLoginServer, string physicsEngine, bool useConfigFile, bool silent, string configFile)
85 { 61 {
@@ -93,16 +69,10 @@ namespace OpenSim
93 OpenSim.Framework.Console.MainConsole.Instance = m_console; 69 OpenSim.Framework.Console.MainConsole.Instance = m_console;
94 } 70 }
95 71
96 private World m_localWorld;
97 public World LocalWorld
98 {
99 get { return m_localWorld; }
100 }
101
102 /// <summary> 72 /// <summary>
103 /// Performs initialisation of the world, such as loading configuration from disk. 73 /// Performs initialisation of the world, such as loading configuration from disk.
104 /// </summary> 74 /// </summary>
105 public virtual void StartUp() 75 public override void StartUp()
106 { 76 {
107 this.regionData = new RegionInfo(); 77 this.regionData = new RegionInfo();
108 try 78 try