diff options
author | Benoit Foucher <benoit@zeroc.com> | 2014-05-23 11:59:44 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2014-05-23 11:59:44 +0200 |
commit | d81701ca8182942b7936f9fd84a019b695e9c890 (patch) | |
tree | dc036c9d701fbbe1afad67782bd78572c0f61974 /cpp/src/Ice/ReferenceFactory.cpp | |
parent | Fixed bug ICE-5543: stringToIdentity bug with escaped escapes (diff) | |
download | ice-d81701ca8182942b7936f9fd84a019b695e9c890.tar.bz2 ice-d81701ca8182942b7936f9fd84a019b695e9c890.tar.xz ice-d81701ca8182942b7936f9fd84a019b695e9c890.zip |
Added support for invocation timeouts and ACM heartbeats
Diffstat (limited to 'cpp/src/Ice/ReferenceFactory.cpp')
-rw-r--r-- | cpp/src/Ice/ReferenceFactory.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/Ice/ReferenceFactory.cpp b/cpp/src/Ice/ReferenceFactory.cpp index 37c061a4296..7df03d0c246 100644 --- a/cpp/src/Ice/ReferenceFactory.cpp +++ b/cpp/src/Ice/ReferenceFactory.cpp @@ -714,6 +714,7 @@ IceInternal::ReferenceFactory::checkForUnknownProperties(const string& prefix) "ConnectionCached", "PreferSecure", "LocatorCacheTimeout", + "InvocationTimeout", "Locator", "Router", "CollocationOptimized", @@ -797,6 +798,7 @@ IceInternal::ReferenceFactory::create(const Identity& ident, bool preferSecure = defaultsAndOverrides->defaultPreferSecure; Ice::EndpointSelectionType endpointSelection = defaultsAndOverrides->defaultEndpointSelection; int locatorCacheTimeout = defaultsAndOverrides->defaultLocatorCacheTimeout; + int invocationTimeout = defaultsAndOverrides->defaultInvocationTimeout; Ice::Context ctx; // @@ -874,6 +876,9 @@ IceInternal::ReferenceFactory::create(const Identity& ident, property = propertyPrefix + ".LocatorCacheTimeout"; locatorCacheTimeout = properties->getPropertyAsIntWithDefault(property, locatorCacheTimeout); + property = propertyPrefix + ".InvocationTimeout"; + invocationTimeout = properties->getPropertyAsIntWithDefault(property, invocationTimeout); + property = propertyPrefix + ".Context."; PropertyDict contexts = properties->getPropertiesForPrefix(property); for(PropertyDict::const_iterator p = contexts.begin(); p != contexts.end(); ++p) @@ -902,6 +907,7 @@ IceInternal::ReferenceFactory::create(const Identity& ident, preferSecure, endpointSelection, locatorCacheTimeout, + invocationTimeout, ctx); } |