diff options
author | Benoit Foucher <benoit@zeroc.com> | 2014-07-01 17:42:04 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2014-07-01 17:42:04 +0200 |
commit | 344a7fd6e0d716f81dc27495e97a7ad9c2ab07b8 (patch) | |
tree | bd06f4919e5a5827f60e2a536e43e47a4fbed6d2 /cpp/src/Ice/Outgoing.cpp | |
parent | Fixed ICE-5569: IceStorm IceMX debug iterator assert (diff) | |
download | ice-344a7fd6e0d716f81dc27495e97a7ad9c2ab07b8.tar.bz2 ice-344a7fd6e0d716f81dc27495e97a7ad9c2ab07b8.tar.xz ice-344a7fd6e0d716f81dc27495e97a7ad9c2ab07b8.zip |
IceMX and Python support for the new collocation optimization
Diffstat (limited to 'cpp/src/Ice/Outgoing.cpp')
-rw-r--r-- | cpp/src/Ice/Outgoing.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/cpp/src/Ice/Outgoing.cpp b/cpp/src/Ice/Outgoing.cpp index 73778c9dafd..0e89e524a0a 100644 --- a/cpp/src/Ice/Outgoing.cpp +++ b/cpp/src/Ice/Outgoing.cpp @@ -279,7 +279,7 @@ IceInternal::Outgoing::sent() IceUtil::Monitor<IceUtil::Mutex>::Lock sync(_monitor); if(_proxy->__reference()->getMode() != Reference::ModeTwoway) { - _remoteObserver.detach(); + _childObserver.detach(); _state = StateOK; } _sent = true; @@ -297,8 +297,8 @@ IceInternal::Outgoing::finished(const Exception& ex, bool sent) { IceUtil::Monitor<IceUtil::Mutex>::Lock sync(_monitor); assert(_state <= StateInProgress); - _remoteObserver.failed(ex.ice_name()); - _remoteObserver.detach(); + _childObserver.failed(ex.ice_name()); + _childObserver.detach(); _state = StateFailed; _exception.reset(ex.ice_clone()); @@ -314,11 +314,11 @@ IceInternal::Outgoing::finished(BasicStream& is) assert(_proxy->__reference()->getMode() == Reference::ModeTwoway); // Can only be called for twoways. assert(_state <= StateInProgress); - if(_remoteObserver) + if(_childObserver) { - _remoteObserver->reply(static_cast<Int>(is.b.size() - headerSize - 4)); + _childObserver->reply(static_cast<Int>(is.b.size() - headerSize - 4)); } - _remoteObserver.detach(); + _childObserver.detach(); _is.swap(is); @@ -615,7 +615,7 @@ void IceInternal::BatchOutgoing::sent() { IceUtil::Monitor<IceUtil::Mutex>::Lock sync(_monitor); - _remoteObserver.detach(); + _childObserver.detach(); _sent = true; _monitor.notify(); @@ -631,8 +631,8 @@ void IceInternal::BatchOutgoing::finished(const Ice::Exception& ex, bool) { IceUtil::Monitor<IceUtil::Mutex>::Lock sync(_monitor); - _remoteObserver.failed(ex.ice_name()); - _remoteObserver.detach(); + _childObserver.failed(ex.ice_name()); + _childObserver.detach(); _exception.reset(ex.ice_clone()); _monitor.notify(); } |