diff options
author | MW | 2007-05-16 18:26:30 +0000 |
---|---|---|
committer | MW | 2007-05-16 18:26:30 +0000 |
commit | 7cc41b9e3864d59af6edc4a84c03987ee387f9e3 (patch) | |
tree | 318487f840762409d0054b78a0da7d759a1e2d9d /OpenSim.RegionServer/OpenSimMain.cs | |
parent | a bit more refactoring (diff) | |
download | opensim-SC_OLD-7cc41b9e3864d59af6edc4a84c03987ee387f9e3.zip opensim-SC_OLD-7cc41b9e3864d59af6edc4a84c03987ee387f9e3.tar.gz opensim-SC_OLD-7cc41b9e3864d59af6edc4a84c03987ee387f9e3.tar.bz2 opensim-SC_OLD-7cc41b9e3864d59af6edc4a84c03987ee387f9e3.tar.xz |
Added OpenSimApplication as a base class to OpenSimMain
Diffstat (limited to 'OpenSim.RegionServer/OpenSimMain.cs')
-rw-r--r-- | OpenSim.RegionServer/OpenSimMain.cs | 34 |
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; | |||
54 | namespace OpenSim | 54 | namespace 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 |