From 33e7c09b7b894551b35fb8ab29133c96a5d7b037 Mon Sep 17 00:00:00 2001 From: MW Date: Thu, 26 Feb 2009 20:01:20 +0000 Subject: Added IRegistryCore and RegistryCore to OpenSim.Framework. Added a ApplicationRegistry to OpenSimBase. Changed LoadRegionsPlugin so it registers itself to that application registry. Added a event to LoadRegionsPlugin, that is triggered when it creates a new scene ,although maybe this event should actually be in opensimBase incase other plugins are creating regions (like the RemoteAdminPlugin). --- OpenSim/Region/ClientStack/RegionApplicationBase.cs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ClientStack') diff --git a/OpenSim/Region/ClientStack/RegionApplicationBase.cs b/OpenSim/Region/ClientStack/RegionApplicationBase.cs index 55cf1ae..731e0e5 100644 --- a/OpenSim/Region/ClientStack/RegionApplicationBase.cs +++ b/OpenSim/Region/ClientStack/RegionApplicationBase.cs @@ -45,16 +45,21 @@ namespace OpenSim.Region.ClientStack private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); - protected IAssetCache m_assetCache; protected Dictionary m_clientCircuits = new Dictionary(); protected NetworkServersInfo m_networkServersInfo; + public NetworkServersInfo NetServersInfo + { + get { return m_networkServersInfo; } + } + protected BaseHttpServer m_httpServer; protected uint m_httpServerPort; public CommunicationsManager CommunicationsManager { get { return m_commsManager; } + set { m_commsManager = value; } } protected CommunicationsManager m_commsManager; @@ -67,6 +72,14 @@ namespace OpenSim.Region.ClientStack get { return m_sceneManager; } } protected SceneManager m_sceneManager = new SceneManager(); + + protected IAssetCache m_assetCache; + + public IAssetCache AssetCache + { + get { return m_assetCache; } + set { m_assetCache = value; } + } protected abstract void Initialize(); -- cgit v1.1