diff options
Diffstat (limited to 'OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs')
-rw-r--r-- | OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs b/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs index c5aabc6..3b98038 100644 --- a/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs +++ b/OpenSim/ApplicationPlugins/CreateCommsManager/CreateCommsManagerPlugin.cs | |||
@@ -206,8 +206,11 @@ namespace OpenSim.ApplicationPlugins.CreateCommsManager | |||
206 | { | 206 | { |
207 | // Standalone mode | 207 | // Standalone mode |
208 | 208 | ||
209 | HGInventoryServiceClient inventoryService = new HGInventoryServiceClient(m_openSim.NetServersInfo.InventoryURL, null, false); | 209 | HGInventoryServiceClient inventoryService |
210 | inventoryService.AddPlugin(m_openSim.ConfigurationSettings.StandaloneInventoryPlugin, m_openSim.ConfigurationSettings.StandaloneInventorySource); | 210 | = new HGInventoryServiceClient(m_openSim.NetServersInfo.InventoryURL, null, false); |
211 | inventoryService.AddPlugin( | ||
212 | m_openSim.ConfigurationSettings.StandaloneInventoryPlugin, | ||
213 | m_openSim.ConfigurationSettings.StandaloneInventorySource); | ||
211 | 214 | ||
212 | HGGridServicesStandalone gridService | 215 | HGGridServicesStandalone gridService |
213 | = new HGGridServicesStandalone( | 216 | = new HGGridServicesStandalone( |
@@ -227,7 +230,10 @@ namespace OpenSim.ApplicationPlugins.CreateCommsManager | |||
227 | 230 | ||
228 | protected virtual void InitialiseHGGridServices(LibraryRootFolder libraryRootFolder) | 231 | protected virtual void InitialiseHGGridServices(LibraryRootFolder libraryRootFolder) |
229 | { | 232 | { |
230 | m_commsManager = new HGCommunicationsGridMode(m_openSim.NetServersInfo, m_httpServer, m_openSim.AssetCache, m_openSim.SceneManager, libraryRootFolder); | 233 | m_commsManager |
234 | = new HGCommunicationsGridMode( | ||
235 | m_openSim.NetServersInfo, m_httpServer, | ||
236 | m_openSim.AssetCache, m_openSim.SceneManager, libraryRootFolder); | ||
231 | 237 | ||
232 | HGServices = ((HGCommunicationsGridMode) m_commsManager).HGServices; | 238 | HGServices = ((HGCommunicationsGridMode) m_commsManager).HGServices; |
233 | 239 | ||
@@ -240,7 +246,8 @@ namespace OpenSim.ApplicationPlugins.CreateCommsManager | |||
240 | // provide grid info | 246 | // provide grid info |
241 | m_gridInfoService = new GridInfoService(m_openSim.ConfigSource.Source); | 247 | m_gridInfoService = new GridInfoService(m_openSim.ConfigSource.Source); |
242 | m_httpServer.AddXmlRPCHandler("get_grid_info", m_gridInfoService.XmlRpcGridInfoMethod); | 248 | m_httpServer.AddXmlRPCHandler("get_grid_info", m_gridInfoService.XmlRpcGridInfoMethod); |
243 | m_httpServer.AddStreamHandler(new RestStreamHandler("GET", "/get_grid_info", m_gridInfoService.RestGetGridInfoMethod)); | 249 | m_httpServer.AddStreamHandler( |
250 | new RestStreamHandler("GET", "/get_grid_info", m_gridInfoService.RestGetGridInfoMethod)); | ||
244 | } | 251 | } |
245 | } | 252 | } |
246 | } | 253 | } |