diff options
author | Sean Dague | 2009-02-09 21:47:55 +0000 |
---|---|---|
committer | Sean Dague | 2009-02-09 21:47:55 +0000 |
commit | 8088802c218d7eb4a47018b5b3bb70e7463a03b1 (patch) | |
tree | ac22b97c3dce09a91bae18b5840f8654813dcfc8 /OpenSim/Framework/Communications/CommunicationsManager.cs | |
parent | Thank you kindly, TLaukkan (Tommil) for a patch that: (diff) | |
download | opensim-SC-8088802c218d7eb4a47018b5b3bb70e7463a03b1.zip opensim-SC-8088802c218d7eb4a47018b5b3bb70e7463a03b1.tar.gz opensim-SC-8088802c218d7eb4a47018b5b3bb70e7463a03b1.tar.bz2 opensim-SC-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.cs | 6 |
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; |