diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Agent/TextureDownload/TextureDownloadModule.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/Agent/TextureDownload/TextureDownloadModule.cs | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/OpenSim/Region/CoreModules/Agent/TextureDownload/TextureDownloadModule.cs b/OpenSim/Region/CoreModules/Agent/TextureDownload/TextureDownloadModule.cs index 107855d..4bfa18f 100644 --- a/OpenSim/Region/CoreModules/Agent/TextureDownload/TextureDownloadModule.cs +++ b/OpenSim/Region/CoreModules/Agent/TextureDownload/TextureDownloadModule.cs | |||
@@ -27,27 +27,29 @@ | |||
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Reflection; | ||
30 | using System.Threading; | 31 | using System.Threading; |
31 | using OpenMetaverse; | 32 | using log4net; |
32 | using Nini.Config; | 33 | using Nini.Config; |
34 | using OpenMetaverse; | ||
33 | using OpenSim.Framework; | 35 | using OpenSim.Framework; |
36 | using OpenSim.Framework.Communications.Cache; | ||
34 | using OpenSim.Region.Framework.Interfaces; | 37 | using OpenSim.Region.Framework.Interfaces; |
35 | using OpenSim.Region.Framework.Scenes; | 38 | using OpenSim.Region.Framework.Scenes; |
36 | using OpenSim.Framework.Communications.Cache; | ||
37 | using BlockingQueue = OpenSim.Framework.BlockingQueue<OpenSim.Region.Framework.Interfaces.ITextureSender>; | 39 | using BlockingQueue = OpenSim.Framework.BlockingQueue<OpenSim.Region.Framework.Interfaces.ITextureSender>; |
38 | 40 | ||
39 | namespace OpenSim.Region.CoreModules.Agent.TextureDownload | 41 | namespace OpenSim.Region.CoreModules.Agent.TextureDownload |
40 | { | 42 | { |
41 | public class TextureDownloadModule : IRegionModule | 43 | public class TextureDownloadModule : IRegionModule |
42 | { | 44 | { |
43 | private static readonly log4net.ILog m_log | 45 | private static readonly ILog m_log |
44 | = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); | 46 | = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
45 | 47 | ||
46 | /// <summary> | 48 | /// <summary> |
47 | /// There is one queue for all textures waiting to be sent, regardless of the requesting user. | 49 | /// There is one queue for all textures waiting to be sent, regardless of the requesting user. |
48 | /// </summary> | 50 | /// </summary> |
49 | private readonly OpenSim.Framework.BlockingQueue<ITextureSender> m_queueSenders | 51 | private readonly BlockingQueue m_queueSenders |
50 | = new OpenSim.Framework.BlockingQueue<ITextureSender>(); | 52 | = new BlockingQueue(); |
51 | 53 | ||
52 | /// <summary> | 54 | /// <summary> |
53 | /// Each user has their own texture download service. | 55 | /// Each user has their own texture download service. |