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/Region/ClientStack/LindenUDP/LLClientView.cs | |
parent | Thank you kindly, TLaukkan (Tommil) for a patch that: (diff) | |
download | opensim-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 '')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 71fced9..f53174a 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -65,7 +65,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
65 | 65 | ||
66 | private int m_debugPacketLevel; | 66 | private int m_debugPacketLevel; |
67 | 67 | ||
68 | private readonly AssetCache m_assetCache; | 68 | private readonly IAssetCache m_assetCache; |
69 | private int m_cachedTextureSerial; | 69 | private int m_cachedTextureSerial; |
70 | private Timer m_clientPingTimer; | 70 | private Timer m_clientPingTimer; |
71 | 71 | ||
@@ -429,7 +429,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
429 | /// Constructor | 429 | /// Constructor |
430 | /// </summary> | 430 | /// </summary> |
431 | public LLClientView( | 431 | public LLClientView( |
432 | EndPoint remoteEP, IScene scene, AssetCache assetCache, LLPacketServer packServer, | 432 | EndPoint remoteEP, IScene scene, IAssetCache assetCache, LLPacketServer packServer, |
433 | AuthenticateResponse sessionInfo, UUID agentId, UUID sessionId, uint circuitCode, EndPoint proxyEP, | 433 | AuthenticateResponse sessionInfo, UUID agentId, UUID sessionId, uint circuitCode, EndPoint proxyEP, |
434 | ClientStackUserSettings userSettings) | 434 | ClientStackUserSettings userSettings) |
435 | { | 435 | { |
@@ -3748,7 +3748,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3748 | handlerGenericMessage(sender, method, msg); | 3748 | handlerGenericMessage(sender, method, msg); |
3749 | return true; | 3749 | return true; |
3750 | } | 3750 | } |
3751 | catch(Exception e) | 3751 | catch (Exception e) |
3752 | { | 3752 | { |
3753 | m_log.Error("[GENERICMESSAGE] " + e); | 3753 | m_log.Error("[GENERICMESSAGE] " + e); |
3754 | } | 3754 | } |