mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 06:06:06 +08:00
* Rebase all current servers on common abstract BaseOpenSimServer class
* The immediate upshot is that "show uptime" from the console will now show uptime on all server types (user, asset, grid, etc) * DEV: This refactoring is far from complete - only just enough to makes the "show uptime" command common accross the servers. More is needed, but in this case it's somewhat like eating cabbage, which I prefer not to do all at once
This commit is contained in:
@@ -40,17 +40,15 @@ using OpenSim.Region.Physics.Manager;
|
||||
|
||||
namespace OpenSim.Region.ClientStack
|
||||
{
|
||||
public abstract class RegionApplicationBase
|
||||
public abstract class RegionApplicationBase : BaseOpenSimServer
|
||||
{
|
||||
protected AssetCache m_assetCache;
|
||||
protected Dictionary<EndPoint, uint> m_clientCircuits = new Dictionary<EndPoint, uint>();
|
||||
protected DateTime m_startuptime;
|
||||
protected NetworkServersInfo m_networkServersInfo;
|
||||
|
||||
protected BaseHttpServer m_httpServer;
|
||||
protected uint m_httpServerPort;
|
||||
|
||||
protected LogBase m_log;
|
||||
protected CommunicationsManager m_commsManager;
|
||||
|
||||
protected SceneManager m_sceneManager = new SceneManager();
|
||||
@@ -67,11 +65,6 @@ namespace OpenSim.Region.ClientStack
|
||||
get { return m_sceneManager; }
|
||||
}
|
||||
|
||||
public RegionApplicationBase()
|
||||
{
|
||||
m_startuptime = DateTime.Now;
|
||||
}
|
||||
|
||||
public virtual void StartUp()
|
||||
{
|
||||
ClientView.TerrainManager = new TerrainManager(new SecondLife());
|
||||
|
||||
Reference in New Issue
Block a user