From 9af05d0bc3253376cecb7cf6586c53e8067bb2a4 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Wed, 23 Jul 2008 22:18:09 +0000 Subject: * refactor: break out inter grid inventory services further * more to follow --- .../Communications/CommunicationsManager.cs | 43 +++++++++++++--------- 1 file changed, 26 insertions(+), 17 deletions(-) (limited to 'OpenSim/Framework/Communications/CommunicationsManager.cs') diff --git a/OpenSim/Framework/Communications/CommunicationsManager.cs b/OpenSim/Framework/Communications/CommunicationsManager.cs index 80dfa2c..6272872 100644 --- a/OpenSim/Framework/Communications/CommunicationsManager.cs +++ b/OpenSim/Framework/Communications/CommunicationsManager.cs @@ -36,68 +36,77 @@ using OpenSim.Framework.Servers; namespace OpenSim.Framework.Communications { + /// + /// This class manages references to OpenSim non-region services (asset, inventory, user, etc.) + /// public class CommunicationsManager { private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); - - protected IUserService m_userService; + protected Dictionary m_nameRequestCache = new Dictionary(); public IUserService UserService { get { return m_userService; } } - - protected IGridServices m_gridService; + protected IUserService m_userService; public IGridServices GridService { get { return m_gridService; } } - - - protected IInterRegionCommunications m_interRegion; - + protected IGridServices m_gridService; + public IInterRegionCommunications InterRegion { get { return m_interRegion; } } - - protected UserProfileCacheService m_userProfileCacheService; + protected IInterRegionCommunications m_interRegion; public UserProfileCacheService UserProfileCacheService { get { return m_userProfileCacheService; } } + protected UserProfileCacheService m_userProfileCacheService; // protected AgentAssetTransactionsManager m_transactionsManager; // public AgentAssetTransactionsManager TransactionsManager // { // get { return m_transactionsManager; } - // } - - protected IAvatarService m_avatarService; + // } public IAvatarService AvatarService { get { return m_avatarService; } } - - protected AssetCache m_assetCache; + protected IAvatarService m_avatarService; public AssetCache AssetCache { get { return m_assetCache; } } - - protected NetworkServersInfo m_networkServersInfo; + protected AssetCache m_assetCache; + + public IInterGridInventoryServices InterGridInventoryService + { + get { return m_interGridInventoryService; } + } + protected IInterGridInventoryServices m_interGridInventoryService; public NetworkServersInfo NetworkServersInfo { get { return m_networkServersInfo; } } + protected NetworkServersInfo m_networkServersInfo; + /// + /// Constructor + /// + /// + /// + /// + /// public CommunicationsManager(NetworkServersInfo serversInfo, BaseHttpServer httpServer, AssetCache assetCache, bool dumpAssetsToFile) { -- cgit v1.1