diff options
author | Benoit Foucher <benoit@zeroc.com> | 2014-06-27 10:31:41 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2014-06-27 10:31:41 +0200 |
commit | a4f93259dc3494d98addf38e69b87eb557d432b3 (patch) | |
tree | d2b78bb5cea24e33dc1b46be22dba6167e96c9ed /cpp/src/Ice/ConnectionI.h | |
parent | Fix for ICE-5515 (ice_staticId on proxies) in Java, C#, Python, Ruby and PHP ... (diff) | |
download | ice-a4f93259dc3494d98addf38e69b87eb557d432b3.tar.bz2 ice-a4f93259dc3494d98addf38e69b87eb557d432b3.tar.xz ice-a4f93259dc3494d98addf38e69b87eb557d432b3.zip |
Better collocation optimization, fix for ICE-5489, ICE-5484
Diffstat (limited to 'cpp/src/Ice/ConnectionI.h')
-rw-r--r-- | cpp/src/Ice/ConnectionI.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/cpp/src/Ice/ConnectionI.h b/cpp/src/Ice/ConnectionI.h index 4a29e8d62b0..f5f26a7709e 100644 --- a/cpp/src/Ice/ConnectionI.h +++ b/cpp/src/Ice/ConnectionI.h @@ -30,6 +30,7 @@ #include <Ice/TraceLevelsF.h> #include <Ice/OutgoingAsyncF.h> #include <Ice/EventHandler.h> +#include <Ice/ResponseHandler.h> #include <Ice/Dispatcher.h> #include <Ice/ObserverHelper.h> #include <Ice/ConnectionAsync.h> @@ -52,7 +53,10 @@ namespace Ice class LocalException; -class ICE_API ConnectionI : public Connection, public IceInternal::EventHandler, public IceUtil::Monitor<IceUtil::Mutex> +class ConnectionI : public Connection, + public IceInternal::EventHandler, + public IceInternal::ResponseHandler, + public IceUtil::Monitor<IceUtil::Mutex> { class Observer : public IceInternal::ObserverHelperT<Ice::Instrumentation::ConnectionObserver> { @@ -103,7 +107,7 @@ public: } void adopt(IceInternal::BasicStream*); - void timedOut(); + bool timedOut(bool); bool sent(); void finished(const Ice::LocalException&); @@ -189,8 +193,8 @@ public: void requestTimedOut(IceInternal::OutgoingMessageCallback*); void asyncRequestTimedOut(const IceInternal::OutgoingAsyncMessageCallbackPtr&); - void sendResponse(IceInternal::BasicStream*, Byte); - void sendNoResponse(); + virtual void sendResponse(Int, IceInternal::BasicStream*, Byte); + virtual void sendNoResponse(); IceInternal::EndpointIPtr endpoint() const; IceInternal::ConnectorPtr connector() const; @@ -220,8 +224,8 @@ public: virtual ConnectionInfoPtr getInfo() const; // From Connection void exception(const LocalException&); - void invokeException(const LocalException&, int); - + virtual void invokeException(Ice::Int, const LocalException&, int); + void dispatch(const StartCallbackPtr&, const std::vector<OutgoingMessage>&, Byte, Int, Int, const IceInternal::ServantManagerPtr&, const ObjectAdapterPtr&, const IceInternal::OutgoingAsyncPtr&, const ConnectionCallbackPtr&, IceInternal::BasicStream&); |