diff options
author | Benoit Foucher <benoit@zeroc.com> | 2014-10-13 17:11:49 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2014-10-13 17:11:49 +0200 |
commit | 2fee4db5224969fc2ad2d0a2594aed126be84ba0 (patch) | |
tree | eb3f8cd0e3525bedf26324db75549a305d42930f /cpp/src/Ice/OutgoingAsync.cpp | |
parent | Fixed (ICE-5709) - IceSSL/configuration failure on Windows (diff) | |
download | ice-2fee4db5224969fc2ad2d0a2594aed126be84ba0.tar.bz2 ice-2fee4db5224969fc2ad2d0a2594aed126be84ba0.tar.xz ice-2fee4db5224969fc2ad2d0a2594aed126be84ba0.zip |
Update JS with the same OutgoingAsync fixes as C++/Java/C#
Diffstat (limited to 'cpp/src/Ice/OutgoingAsync.cpp')
-rw-r--r-- | cpp/src/Ice/OutgoingAsync.cpp | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/cpp/src/Ice/OutgoingAsync.cpp b/cpp/src/Ice/OutgoingAsync.cpp index b348b1c8cc8..c2c443f2184 100644 --- a/cpp/src/Ice/OutgoingAsync.cpp +++ b/cpp/src/Ice/OutgoingAsync.cpp @@ -78,12 +78,6 @@ ProxyOutgoingAsyncBase::getProxy() const } bool -ProxyOutgoingAsyncBase::sent() -{ - return sent(!_proxy->ice_isTwoway()); // Done if it's not a two-way proxy (no response expected). -} - -bool ProxyOutgoingAsyncBase::completed(const Exception& exc) { if(_childObserver) @@ -391,6 +385,12 @@ OutgoingAsync::prepare(const string& operation, OperationMode mode, const Contex } } +bool +OutgoingAsync::sent() +{ + return ProxyOutgoingAsyncBase::sent(!_proxy->ice_isTwoway()); // done = true if it's not a two-way proxy +} + AsyncStatus OutgoingAsync::send(const ConnectionIPtr& connection, bool compress, bool response) { @@ -601,12 +601,6 @@ ProxyFlushBatch::ProxyFlushBatch(const ObjectPrx& proxy, _observer.attach(proxy.get(), operation, 0); } -bool -ProxyFlushBatch::sent() -{ - return ProxyOutgoingAsyncBase::sent(true); // Overriden because the flush is done even if using a two-way proxy. -} - AsyncStatus ProxyFlushBatch::send(const ConnectionIPtr& connection, bool, bool) { |