diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-04-07 13:43:58 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-04-07 13:43:58 +0000 |
commit | 3bc9a99c18f06527b7e14cc73b29a285fd4ec13e (patch) | |
tree | 65401c32f72cbd63c46c94129a40464a30a83aca /cpp/src/Ice/OutgoingAsync.cpp | |
parent | Fix (diff) | |
download | ice-3bc9a99c18f06527b7e14cc73b29a285fd4ec13e.tar.bz2 ice-3bc9a99c18f06527b7e14cc73b29a285fd4ec13e.tar.xz ice-3bc9a99c18f06527b7e14cc73b29a285fd4ec13e.zip |
Bug 803 - changed communicator initialization.
Diffstat (limited to 'cpp/src/Ice/OutgoingAsync.cpp')
-rw-r--r-- | cpp/src/Ice/OutgoingAsync.cpp | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/cpp/src/Ice/OutgoingAsync.cpp b/cpp/src/Ice/OutgoingAsync.cpp index 024c1f13764..14647308b27 100644 --- a/cpp/src/Ice/OutgoingAsync.cpp +++ b/cpp/src/Ice/OutgoingAsync.cpp @@ -371,9 +371,10 @@ IceInternal::OutgoingAsync::warning(const Exception& ex) const if(__os) // Don't print anything if cleanup() was already called. { ReferencePtr ref = _proxy->__reference(); - if(ref->getInstance()->properties()->getPropertyAsIntWithDefault("Ice.Warn.AMICallback", 1) > 0) + if(ref->getInstance()->initializationData().properties-> + getPropertyAsIntWithDefault("Ice.Warn.AMICallback", 1) > 0) { - Warning out(ref->getInstance()->logger()); + Warning out(ref->getInstance()->initializationData().logger); out << "Ice::Exception raised by AMI callback:\n" << ex; } } @@ -385,9 +386,10 @@ IceInternal::OutgoingAsync::warning(const std::exception& ex) const if(__os) // Don't print anything if cleanup() was already called. { ReferencePtr ref = _proxy->__reference(); - if(ref->getInstance()->properties()->getPropertyAsIntWithDefault("Ice.Warn.AMICallback", 1) > 0) + if(ref->getInstance()->initializationData().properties-> + getPropertyAsIntWithDefault("Ice.Warn.AMICallback", 1) > 0) { - Warning out(ref->getInstance()->logger()); + Warning out(ref->getInstance()->initializationData().logger); out << "std::exception raised by AMI callback:\n" << ex.what(); } } @@ -399,9 +401,10 @@ IceInternal::OutgoingAsync::warning() const if(__os) // Don't print anything if cleanup() was already called. { ReferencePtr ref = _proxy->__reference(); - if(ref->getInstance()->properties()->getPropertyAsIntWithDefault("Ice.Warn.AMICallback", 1) > 0) + if(ref->getInstance()->initializationData().properties-> + getPropertyAsIntWithDefault("Ice.Warn.AMICallback", 1) > 0) { - Warning out(ref->getInstance()->logger()); + Warning out(ref->getInstance()->initializationData().logger); out << "unknown exception raised by AMI callback"; } } |