Moving these nice HG connectors to their homes.
parent
6cb7ecd99c
commit
e1fd76ace6
|
@ -32,11 +32,10 @@ using System.Collections.Generic;
|
|||
using System.Reflection;
|
||||
using OpenSim.Framework;
|
||||
using OpenSim.Services.Interfaces;
|
||||
using OpenSim.Services.Connectors;
|
||||
|
||||
namespace OpenSim.Services.AssetService
|
||||
namespace OpenSim.Services.Connectors
|
||||
{
|
||||
public class HGAssetService : IAssetService
|
||||
public class HGAssetServiceConnector : IAssetService
|
||||
{
|
||||
private static readonly ILog m_log =
|
||||
LogManager.GetLogger(
|
||||
|
@ -44,7 +43,7 @@ namespace OpenSim.Services.AssetService
|
|||
|
||||
private Dictionary<string, AssetServicesConnector> m_connectors = new Dictionary<string, AssetServicesConnector>();
|
||||
|
||||
public HGAssetService(IConfigSource source)
|
||||
public HGAssetServiceConnector(IConfigSource source)
|
||||
{
|
||||
IConfig moduleConfig = source.Configs["Modules"];
|
||||
if (moduleConfig != null)
|
||||
|
@ -54,7 +53,7 @@ namespace OpenSim.Services.AssetService
|
|||
IConfig assetConfig = source.Configs["AssetService"];
|
||||
if (assetConfig == null)
|
||||
{
|
||||
m_log.Error("[HG ASSET SERVICE]: AssetService missing from OpanSim.ini");
|
||||
m_log.Error("[HG ASSET SERVICE]: AssetService missing from OpenSim.ini");
|
||||
return;
|
||||
}
|
||||
|
|
@ -32,12 +32,11 @@ using System.Collections.Generic;
|
|||
using System.Reflection;
|
||||
using OpenSim.Framework;
|
||||
using OpenSim.Services.Interfaces;
|
||||
using OpenSim.Services.Connectors;
|
||||
using OpenMetaverse;
|
||||
|
||||
namespace OpenSim.Services.InventoryService
|
||||
namespace OpenSim.Services.Connectors.Inventory
|
||||
{
|
||||
public class HGInventoryService : ISessionAuthInventoryService
|
||||
public class HGInventoryServiceConnector : ISessionAuthInventoryService
|
||||
{
|
||||
private static readonly ILog m_log =
|
||||
LogManager.GetLogger(
|
||||
|
@ -45,14 +44,14 @@ namespace OpenSim.Services.InventoryService
|
|||
|
||||
private Dictionary<string, InventoryServicesConnector> m_connectors = new Dictionary<string, InventoryServicesConnector>();
|
||||
|
||||
public HGInventoryService(IConfigSource source)
|
||||
public HGInventoryServiceConnector(IConfigSource source)
|
||||
{
|
||||
IConfig moduleConfig = source.Configs["Modules"];
|
||||
if (moduleConfig != null)
|
||||
{
|
||||
|
||||
IConfig assetConfig = source.Configs["InventoryService"];
|
||||
if (assetConfig == null)
|
||||
IConfig inventoryConfig = source.Configs["InventoryService"];
|
||||
if (inventoryConfig == null)
|
||||
{
|
||||
m_log.Error("[HG INVENTORY SERVICE]: InventoryService missing from OpenSim.ini");
|
||||
return;
|
|
@ -17,8 +17,8 @@
|
|||
|
||||
[AssetService]
|
||||
LocalGridAssetService = "OpenSim.Services.Connectors.dll:AssetServicesConnector"
|
||||
HypergridAssetService = "OpenSim.Services.AssetService.dll:HGAssetService"
|
||||
HypergridAssetService = "OpenSim.Services.Connectors.dll:HGAssetServiceConnector"
|
||||
|
||||
[InventoryService]
|
||||
LocalGridInventoryService = "OpenSim.Region.CoreModules.dll:RemoteInventoryServicesConnector"
|
||||
HypergridInventoryService = "OpenSim.Services.InventoryService.dll:HGInventoryService"
|
||||
HypergridInventoryService = "OpenSim.Services.Connectors.dll:HGInventoryServiceConnector"
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
; For HGAssetBroker
|
||||
LocalGridAssetService = "OpenSim.Services.AssetService.dll:AssetService"
|
||||
HypergridAssetService = "OpenSim.Services.AssetService.dll:HGAssetService"
|
||||
HypergridAssetService = "OpenSim.Services.Connectors.dll:HGAssetServiceConnector"
|
||||
|
||||
[InventoryService]
|
||||
; For the InventoryServiceInConnector
|
||||
|
@ -28,4 +28,4 @@
|
|||
|
||||
; For HGInventoryBroker
|
||||
LocalGridInventoryService = "OpenSim.Services.InventoryService.dll:InventoryService"
|
||||
HypergridInventoryService = "OpenSim.Services.InventoryService.dll:HGInventoryService"
|
||||
HypergridInventoryService = "OpenSim.Services.Connectors.dll:HGInventoryServiceConnector"
|
||||
|
|
Loading…
Reference in New Issue