diff options
author | Tleiades Hax | 2007-10-24 04:07:41 +0000 |
---|---|---|
committer | Tleiades Hax | 2007-10-24 04:07:41 +0000 |
commit | 44ee28d9639008f68c9bf3fdf1d676611aac26b4 (patch) | |
tree | 77871df33be26b9f6e4c3e1c29f33077503dc41b | |
parent | add locking to the terrain database calls (diff) | |
download | opensim-SC_OLD-44ee28d9639008f68c9bf3fdf1d676611aac26b4.zip opensim-SC_OLD-44ee28d9639008f68c9bf3fdf1d676611aac26b4.tar.gz opensim-SC_OLD-44ee28d9639008f68c9bf3fdf1d676611aac26b4.tar.bz2 opensim-SC_OLD-44ee28d9639008f68c9bf3fdf1d676611aac26b4.tar.xz |
Part of supporting gridwide assetss. A little premature release, but I'm tired of conflicts.
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetCache.cs | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index 9dbd50e..271934f 100644 --- a/OpenSim/Framework/Communications/Cache/AssetCache.cs +++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs | |||
@@ -87,28 +87,6 @@ namespace OpenSim.Framework.Communications.Cache | |||
87 | 87 | ||
88 | } | 88 | } |
89 | 89 | ||
90 | public AssetCache(string assetServerDLLName, string assetServerURL, string assetServerKey) | ||
91 | { | ||
92 | OpenSim.Framework.Console.MainLog.Instance.Verbose("ASSETSTORAGE", "Creating Asset cache"); | ||
93 | _assetServer = this.LoadAssetDll(assetServerDLLName); | ||
94 | |||
95 | |||
96 | // TODO: This actually does nothing to no IAssetServer implementor. Delete? | ||
97 | _assetServer.SetServerInfo(assetServerURL, assetServerKey); | ||
98 | |||
99 | |||
100 | _assetServer.SetReceiver(this); | ||
101 | Assets = new Dictionary<LLUUID, AssetInfo>(); | ||
102 | Textures = new Dictionary<LLUUID, TextureImage>(); | ||
103 | this._assetCacheThread = new Thread(new ThreadStart(RunAssetManager)); | ||
104 | this._assetCacheThread.IsBackground = true; | ||
105 | this._assetCacheThread.Start(); | ||
106 | |||
107 | this.TextureSenderThread = new Thread(new ThreadStart(this.ProcessTextureSenders)); | ||
108 | this.TextureSenderThread.IsBackground = true; | ||
109 | this.TextureSenderThread.Start(); | ||
110 | } | ||
111 | |||
112 | /// <summary> | 90 | /// <summary> |
113 | /// | 91 | /// |
114 | /// </summary> | 92 | /// </summary> |
@@ -796,4 +774,4 @@ namespace OpenSim.Framework.Communications.Cache | |||
796 | } | 774 | } |
797 | } | 775 | } |
798 | } | 776 | } |
799 | } \ No newline at end of file | 777 | } |