summaryrefslogtreecommitdiff
path: root/java/src/Ice/ObjectPrx.java
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2014-09-18 09:51:22 -0230
committerDwayne Boone <dwayne@zeroc.com>2014-09-18 09:51:22 -0230
commit4723f7bbd3ea2ffb241df26e5736fa5c04589e7b (patch)
tree1fb506dbb4f76a5e6ce7e9eada7489e19a0560e4 /java/src/Ice/ObjectPrx.java
parentICE-4891 some minor improvements (diff)
downloadice-4723f7bbd3ea2ffb241df26e5736fa5c04589e7b.tar.bz2
ice-4723f7bbd3ea2ffb241df26e5736fa5c04589e7b.tar.xz
ice-4723f7bbd3ea2ffb241df26e5736fa5c04589e7b.zip
ICE-5661 add proxy->begin_ice_getConnection
Diffstat (limited to 'java/src/Ice/ObjectPrx.java')
-rw-r--r--java/src/Ice/ObjectPrx.java40
1 files changed, 40 insertions, 0 deletions
diff --git a/java/src/Ice/ObjectPrx.java b/java/src/Ice/ObjectPrx.java
index eddfec7e8f7..b3af5ef6eb8 100644
--- a/java/src/Ice/ObjectPrx.java
+++ b/java/src/Ice/ObjectPrx.java
@@ -1136,6 +1136,46 @@ public interface ObjectPrx
Connection ice_getConnection();
/**
+ * Asynchronously gets the connection for this proxy. The call does not block.
+ *
+ * @return The asynchronous result object.
+ **/
+ AsyncResult begin_ice_getConnection();
+
+ /**
+ * Asynchronously gets the connection for this proxy. The call does not block.
+ *
+ * @return The asynchronous result object.
+ **/
+ AsyncResult begin_ice_getConnection(Callback __cb);
+
+ /**
+ * Asynchronously gets the connection for this proxy. The call does not block.
+ *
+ * @param cb The callback object to notify the application when the operation is complete.
+ * @return The asynchronous result object.
+ **/
+ AsyncResult begin_ice_getConnection(Callback_Object_ice_getConnection __cb);
+
+ /**
+ * Asynchronously gets the connection for this proxy. The call does not block.
+ *
+ * @param __responseCb The callback object to notify the application when the there is a response available.
+ * @param __exceptionCb The callback object to notify the application when the there is an exception getting
+ * connection.
+ * @return The asynchronous result object.
+ **/
+ AsyncResult begin_ice_getConnection(IceInternal.Functional_GenericCallback1<Ice.Connection> __responseCb,
+ IceInternal.Functional_GenericCallback1<Ice.Exception> __exceptionCb);
+
+ /**
+ * Completes the asynchronous get connection.
+ *
+ * @param __result The asynchronous result.
+ **/
+ Ice.Connection end_ice_getConnection(AsyncResult __result);
+
+ /**
* Returns the cached {@link Connection} for this proxy. If the proxy does not yet have an established
* connection, it does not attempt to create a connection.
*