diff options
author | Justin Clark-Casey (justincc) | 2014-10-13 23:10:08 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2014-11-25 23:21:38 +0000 |
commit | 8ddcd16c695e770454b5c8f10402b2edc556fa08 (patch) | |
tree | 54ceec20d58a9dd576a4677a315f7fb90e0e1d99 /OpenSim/Region/CoreModules/ServiceConnectorsOut | |
parent | Fix an issue where specifying both max client and server outgoing UDP throttl... (diff) | |
download | opensim-SC-8ddcd16c695e770454b5c8f10402b2edc556fa08.zip opensim-SC-8ddcd16c695e770454b5c8f10402b2edc556fa08.tar.gz opensim-SC-8ddcd16c695e770454b5c8f10402b2edc556fa08.tar.bz2 opensim-SC-8ddcd16c695e770454b5c8f10402b2edc556fa08.tar.xz |
Add an IConfigSource constructor to HGAssetBroker so that it can be instantiated directly for potentially handling some capabilities directly in services with HG active
Diffstat (limited to 'OpenSim/Region/CoreModules/ServiceConnectorsOut')
-rw-r--r-- | OpenSim/Region/CoreModules/ServiceConnectorsOut/Asset/HGAssetBroker.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Asset/HGAssetBroker.cs b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Asset/HGAssetBroker.cs index 38862ca..7695404 100644 --- a/OpenSim/Region/CoreModules/ServiceConnectorsOut/Asset/HGAssetBroker.cs +++ b/OpenSim/Region/CoreModules/ServiceConnectorsOut/Asset/HGAssetBroker.cs | |||
@@ -69,6 +69,13 @@ namespace OpenSim.Region.CoreModules.ServiceConnectorsOut.Asset | |||
69 | get { return "HGAssetBroker"; } | 69 | get { return "HGAssetBroker"; } |
70 | } | 70 | } |
71 | 71 | ||
72 | public HGAssetBroker() {} | ||
73 | |||
74 | public HGAssetBroker(IConfigSource config) | ||
75 | { | ||
76 | Initialise(config); | ||
77 | } | ||
78 | |||
72 | public void Initialise(IConfigSource source) | 79 | public void Initialise(IConfigSource source) |
73 | { | 80 | { |
74 | IConfig moduleConfig = source.Configs["Modules"]; | 81 | IConfig moduleConfig = source.Configs["Modules"]; |