diff options
author | Jose <jose@zeroc.com> | 2012-08-16 21:54:10 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2012-08-16 21:54:10 +0200 |
commit | 0333544ca90a99baa6e9dc7373eba744d4404970 (patch) | |
tree | b8d204864002edf7d0bbe903a8bf1fc8c917c8ee /cpp/src/Ice/ConnectionI.h | |
parent | minor fixes (diff) | |
parent | IceGridGUI updates to use latest jgoodies packages (diff) | |
download | ice-0333544ca90a99baa6e9dc7373eba744d4404970.tar.bz2 ice-0333544ca90a99baa6e9dc7373eba744d4404970.tar.xz ice-0333544ca90a99baa6e9dc7373eba744d4404970.zip |
Merge remote-tracking branch 'origin/encoding11' into mx
Conflicts:
cpp/config/Make.rules.Darwin
cpp/src/Ice/ConnectionFactory.cpp
cpp/src/Ice/ConnectionI.h
Diffstat (limited to 'cpp/src/Ice/ConnectionI.h')
-rw-r--r-- | cpp/src/Ice/ConnectionI.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/cpp/src/Ice/ConnectionI.h b/cpp/src/Ice/ConnectionI.h index 9fef29ea74e..57fd34d3e5f 100644 --- a/cpp/src/Ice/ConnectionI.h +++ b/cpp/src/Ice/ConnectionI.h @@ -31,6 +31,7 @@ #include <Ice/EventHandler.h> #include <Ice/Dispatcher.h> #include <Ice/ObserverHelper.h> +#include <Ice/ConnectionAsync.h> #include <deque> #include <memory> @@ -129,6 +130,15 @@ public: void abortBatchRequest(); virtual void flushBatchRequests(); // From Connection. + +#ifdef ICE_CPP11 + virtual ::Ice::AsyncResultPtr begin_flushBatchRequests( + const ::IceInternal::Function<void (const ::Ice::Exception&)>& exception, + const ::IceInternal::Function<void (bool)>& sent = ::IceInternal::Function<void (bool)>()) + { + return __begin_flushBatchRequests(new Cpp11FnCallbackNC_Connection_flushBatchRequests(exception, sent), 0); + } +#endif virtual AsyncResultPtr begin_flushBatchRequests(); virtual AsyncResultPtr begin_flushBatchRequests(const CallbackPtr&, const LocalObjectPtr& = 0); @@ -294,7 +304,7 @@ private: int connectTimeout(); int closeTimeout(); - AsyncResultPtr begin_flushBatchRequestsInternal(const IceInternal::CallbackBasePtr&, const LocalObjectPtr&); + AsyncResultPtr __begin_flushBatchRequests(const IceInternal::CallbackBasePtr&, const LocalObjectPtr&); Ice::CommunicatorPtr _communicator; const IceInternal::InstancePtr _instance; |