aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Communications/CommunicationsManager.cs
diff options
context:
space:
mode:
authorSean Dague2009-02-09 21:47:55 +0000
committerSean Dague2009-02-09 21:47:55 +0000
commit8088802c218d7eb4a47018b5b3bb70e7463a03b1 (patch)
treeac22b97c3dce09a91bae18b5840f8654813dcfc8 /OpenSim/Framework/Communications/CommunicationsManager.cs
parentThank you kindly, TLaukkan (Tommil) for a patch that: (diff)
downloadopensim-SC_OLD-8088802c218d7eb4a47018b5b3bb70e7463a03b1.zip
opensim-SC_OLD-8088802c218d7eb4a47018b5b3bb70e7463a03b1.tar.gz
opensim-SC_OLD-8088802c218d7eb4a47018b5b3bb70e7463a03b1.tar.bz2
opensim-SC_OLD-8088802c218d7eb4a47018b5b3bb70e7463a03b1.tar.xz
From Alan Webb <awebb@linux.vnet.ibm.com>
These changes replace all direct references to the AssetCache with IAssetCache. There is no change to functionality. Everything works as before. This is laying the groundwork for making it possible to register alternative asset caching mechanisms without disrupting other parts of OpenSim or their dependencies upon AssetCache functionality.
Diffstat (limited to 'OpenSim/Framework/Communications/CommunicationsManager.cs')
-rw-r--r--OpenSim/Framework/Communications/CommunicationsManager.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Framework/Communications/CommunicationsManager.cs b/OpenSim/Framework/Communications/CommunicationsManager.cs
index b4af991..2107f63 100644
--- a/OpenSim/Framework/Communications/CommunicationsManager.cs
+++ b/OpenSim/Framework/Communications/CommunicationsManager.cs
@@ -87,11 +87,11 @@ namespace OpenSim.Framework.Communications
87 } 87 }
88 protected IAvatarService m_avatarService; 88 protected IAvatarService m_avatarService;
89 89
90 public AssetCache AssetCache 90 public IAssetCache AssetCache
91 { 91 {
92 get { return m_assetCache; } 92 get { return m_assetCache; }
93 } 93 }
94 protected AssetCache m_assetCache; 94 protected IAssetCache m_assetCache;
95 95
96 public IInterServiceInventoryServices InterServiceInventoryService 96 public IInterServiceInventoryServices InterServiceInventoryService
97 { 97 {
@@ -127,7 +127,7 @@ namespace OpenSim.Framework.Communications
127 /// <param name="httpServer"></param> 127 /// <param name="httpServer"></param>
128 /// <param name="assetCache"></param> 128 /// <param name="assetCache"></param>
129 /// <param name="dumpAssetsToFile"></param> 129 /// <param name="dumpAssetsToFile"></param>
130 public CommunicationsManager(NetworkServersInfo serversInfo, BaseHttpServer httpServer, AssetCache assetCache, 130 public CommunicationsManager(NetworkServersInfo serversInfo, BaseHttpServer httpServer, IAssetCache assetCache,
131 bool dumpAssetsToFile, LibraryRootFolder libraryRootFolder) 131 bool dumpAssetsToFile, LibraryRootFolder libraryRootFolder)
132 { 132 {
133 m_networkServersInfo = serversInfo; 133 m_networkServersInfo = serversInfo;