summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/Proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/Proxy.h')
-rw-r--r--cpp/include/Ice/Proxy.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/cpp/include/Ice/Proxy.h b/cpp/include/Ice/Proxy.h
index e996c1324ab..461c873ccdd 100644
--- a/cpp/include/Ice/Proxy.h
+++ b/cpp/include/Ice/Proxy.h
@@ -38,6 +38,49 @@ ICE_API extern const Context noExplicitContext;
}
+namespace IceInternal
+{
+
+//
+// Class for handling the proxy's begin_ice_flushBatchRequest request.
+//
+class ICE_API ProxyFlushBatchAsync : public ProxyOutgoingAsyncBase
+{
+public:
+
+ ProxyFlushBatchAsync(const Ice::ObjectPrxPtr&);
+
+ virtual AsyncStatus invokeRemote(const Ice::ConnectionIPtr&, bool, bool);
+ virtual AsyncStatus invokeCollocated(CollocatedRequestHandler*);
+
+ void invoke(const std::string&);
+
+private:
+
+ int _batchRequestNum;
+};
+typedef IceUtil::Handle<ProxyFlushBatchAsync> ProxyFlushBatchAsyncPtr;
+
+//
+// Class for handling the proxy's begin_ice_getConnection request.
+//
+class ICE_API ProxyGetConnection : public ProxyOutgoingAsyncBase
+{
+public:
+
+ ProxyGetConnection(const Ice::ObjectPrxPtr&);
+
+ virtual AsyncStatus invokeRemote(const Ice::ConnectionIPtr&, bool, bool);
+ virtual AsyncStatus invokeCollocated(CollocatedRequestHandler*);
+
+ virtual Ice::ConnectionPtr getConnection() const;
+
+ void invoke(const std::string&);
+};
+typedef IceUtil::Handle<ProxyGetConnection> ProxyGetConnectionPtr;
+
+}
+
#ifdef ICE_CPP11_MAPPING // C++11 mapping
namespace IceInternal