diff options
author | Justin Clarke Casey | 2009-03-19 18:11:44 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-03-19 18:11:44 +0000 |
commit | bd2180d9af21dd54d4199a9381afa3e43e913823 (patch) | |
tree | 7f82f0dd30e24d8eaa4f8cbb2493cb2f3f1c637f /OpenSim/Region/CoreModules/Hypergrid/HGStandaloneInventoryService.cs | |
parent | * Lock http handlers dictionary in other places as well to avoid race conditions (diff) | |
download | opensim-SC_OLD-bd2180d9af21dd54d4199a9381afa3e43e913823.zip opensim-SC_OLD-bd2180d9af21dd54d4199a9381afa3e43e913823.tar.gz opensim-SC_OLD-bd2180d9af21dd54d4199a9381afa3e43e913823.tar.bz2 opensim-SC_OLD-bd2180d9af21dd54d4199a9381afa3e43e913823.tar.xz |
* refactor: Create IHttpServer interface instead of accessing BaseHttpServer via CommunicationsManager directly
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/CoreModules/Hypergrid/HGStandaloneInventoryService.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Hypergrid/HGStandaloneInventoryService.cs b/OpenSim/Region/CoreModules/Hypergrid/HGStandaloneInventoryService.cs index 6ad032e..cff3611 100644 --- a/OpenSim/Region/CoreModules/Hypergrid/HGStandaloneInventoryService.cs +++ b/OpenSim/Region/CoreModules/Hypergrid/HGStandaloneInventoryService.cs | |||
@@ -35,6 +35,7 @@ using OpenMetaverse; | |||
35 | using OpenSim.Framework; | 35 | using OpenSim.Framework; |
36 | using OpenSim.Framework.Communications; | 36 | using OpenSim.Framework.Communications; |
37 | using OpenSim.Framework.Servers; | 37 | using OpenSim.Framework.Servers; |
38 | using OpenSim.Framework.Servers.Interfaces; | ||
38 | using OpenSim.Region.Framework.Interfaces; | 39 | using OpenSim.Region.Framework.Interfaces; |
39 | using OpenSim.Region.Framework.Scenes; | 40 | using OpenSim.Region.Framework.Scenes; |
40 | 41 | ||
@@ -114,7 +115,7 @@ namespace OpenSim.Region.CoreModules.Hypergrid | |||
114 | 115 | ||
115 | protected void AddHttpHandlers(Scene m_scene) | 116 | protected void AddHttpHandlers(Scene m_scene) |
116 | { | 117 | { |
117 | BaseHttpServer httpServer = m_scene.CommsManager.HttpServer; | 118 | IHttpServer httpServer = m_scene.CommsManager.HttpServer; |
118 | 119 | ||
119 | httpServer.AddStreamHandler( | 120 | httpServer.AddStreamHandler( |
120 | new RestDeserialiseSecureHandler<Guid, InventoryCollection>( | 121 | new RestDeserialiseSecureHandler<Guid, InventoryCollection>( |