summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/CommunicatorI.h
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2012-08-16 21:54:10 +0200
committerJose <jose@zeroc.com>2012-08-16 21:54:10 +0200
commit0333544ca90a99baa6e9dc7373eba744d4404970 (patch)
treeb8d204864002edf7d0bbe903a8bf1fc8c917c8ee /cpp/src/Ice/CommunicatorI.h
parentminor fixes (diff)
parentIceGridGUI updates to use latest jgoodies packages (diff)
downloadice-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/CommunicatorI.h')
-rw-r--r--cpp/src/Ice/CommunicatorI.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/cpp/src/Ice/CommunicatorI.h b/cpp/src/Ice/CommunicatorI.h
index dd21e0b941b..d9628478707 100644
--- a/cpp/src/Ice/CommunicatorI.h
+++ b/cpp/src/Ice/CommunicatorI.h
@@ -14,6 +14,7 @@
#include <Ice/DynamicLibraryF.h>
#include <Ice/Initialize.h>
#include <Ice/Communicator.h>
+#include <Ice/CommunicatorAsync.h>
namespace Ice
{
@@ -60,6 +61,15 @@ public:
virtual void flushBatchRequests();
+#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_Communicator_flushBatchRequests(exception, sent), 0);
+ }
+#endif
+
virtual AsyncResultPtr begin_flushBatchRequests();
virtual AsyncResultPtr begin_flushBatchRequests(const CallbackPtr&, const LocalObjectPtr& = 0);
virtual AsyncResultPtr begin_flushBatchRequests(const Callback_Communicator_flushBatchRequestsPtr&,
@@ -86,7 +96,7 @@ private:
friend ICE_API CommunicatorPtr initialize(const InitializationData&, Int);
friend ICE_API ::IceInternal::InstancePtr IceInternal::getInstance(const ::Ice::CommunicatorPtr&);
- AsyncResultPtr begin_flushBatchRequestsInternal(const IceInternal::CallbackBasePtr&, const LocalObjectPtr&);
+ AsyncResultPtr __begin_flushBatchRequests(const IceInternal::CallbackBasePtr&, const LocalObjectPtr&);
const ::IceInternal::InstancePtr _instance;