Add an IConfigSource constructor to HGAssetBroker so that it can be instantiated directly for potentially handling some capabilities directly in services with HG active

mb-throttle-test
Justin Clark-Casey (justincc) 2014-10-13 23:10:08 +01:00
parent d33964222a
commit 8ddcd16c69
1 changed files with 7 additions and 0 deletions

View File

@ -69,6 +69,13 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Asset
get { return "HGAssetBroker"; }
}
public HGAssetBroker() {}
public HGAssetBroker(IConfigSource config)
{
Initialise(config);
}
public void Initialise(IConfigSource source)
{
IConfig moduleConfig = source.Configs["Modules"];