diff options
author | Benoit Foucher <benoit@zeroc.com> | 2014-07-15 10:22:40 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2014-07-15 10:22:40 +0200 |
commit | 710a9221852d6c92b1727a429a33b38f1f949352 (patch) | |
tree | 6bc9ac9ed04a6b1858d8fc30282d4f18ef04abbb /cpp/src/Ice/ConnectionI.h | |
parent | - Fix for ICE-5578 - Python build failure (diff) | |
download | ice-710a9221852d6c92b1727a429a33b38f1f949352.tar.bz2 ice-710a9221852d6c92b1727a429a33b38f1f949352.tar.xz ice-710a9221852d6c92b1727a429a33b38f1f949352.zip |
Fixed collocation optimization to use the dispatcher, minor test fixes
Diffstat (limited to 'cpp/src/Ice/ConnectionI.h')
-rw-r--r-- | cpp/src/Ice/ConnectionI.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cpp/src/Ice/ConnectionI.h b/cpp/src/Ice/ConnectionI.h index f5f26a7709e..3e190ca1008 100644 --- a/cpp/src/Ice/ConnectionI.h +++ b/cpp/src/Ice/ConnectionI.h @@ -82,32 +82,32 @@ public: struct OutgoingMessage { OutgoingMessage(IceInternal::BasicStream* str, bool comp) : - stream(str), out(0), compress(comp), requestId(0), adopted(false), isSent(false) + stream(str), out(0), compress(comp), requestId(0), adopted(false) #if defined(ICE_USE_IOCP) || defined(ICE_OS_WINRT) - , invokeSentCallback(false), receivedReply(false) + , isSent(false), invokeSent(false), receivedReply(false) #endif { } OutgoingMessage(IceInternal::OutgoingMessageCallback* o, IceInternal::BasicStream* str, bool comp, int rid) : - stream(str), out(o), compress(comp), requestId(rid), adopted(false), isSent(false) + stream(str), out(o), compress(comp), requestId(rid), adopted(false) #if defined(ICE_USE_IOCP) || defined(ICE_OS_WINRT) - , invokeSentCallback(false), receivedReply(false) + , isSent(false), invokeSent(false), receivedReply(false) #endif { } OutgoingMessage(const IceInternal::OutgoingAsyncMessageCallbackPtr& o, IceInternal::BasicStream* str, bool comp, int rid) : - stream(str), out(0), outAsync(o), compress(comp), requestId(rid), adopted(false), isSent(false) + stream(str), out(0), outAsync(o), compress(comp), requestId(rid), adopted(false) #if defined(ICE_USE_IOCP) || defined(ICE_OS_WINRT) - , invokeSentCallback(false), receivedReply(false) + , isSent(false), invokeSent(false), receivedReply(false) #endif { } void adopt(IceInternal::BasicStream*); - bool timedOut(bool); + void timedOut(bool); bool sent(); void finished(const Ice::LocalException&); @@ -117,9 +117,9 @@ public: bool compress; int requestId; bool adopted; - bool isSent; #if defined(ICE_USE_IOCP) || defined(ICE_OS_WINRT) - bool invokeSentCallback; + bool isSent; + bool invokeSent; bool receivedReply; #endif }; @@ -298,7 +298,7 @@ private: ObjectAdapterPtr _adapter; IceInternal::ServantManagerPtr _servantManager; - const DispatcherPtr _dispatcher; + const bool _dispatcher; const LoggerPtr _logger; const IceInternal::TraceLevelsPtr _traceLevels; const IceInternal::ThreadPoolPtr _threadPool; |