summaryrefslogtreecommitdiff
path: root/java/src/Ice/AsyncResult.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/Ice/AsyncResult.java')
-rw-r--r--java/src/Ice/AsyncResult.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/java/src/Ice/AsyncResult.java b/java/src/Ice/AsyncResult.java
index df247ac9358..477dec5f5ac 100644
--- a/java/src/Ice/AsyncResult.java
+++ b/java/src/Ice/AsyncResult.java
@@ -16,6 +16,13 @@ package Ice;
**/
public interface AsyncResult
{
+ /**
+ * If not completed, cancels the request. This is a local
+ * operation, it won't cancel the request on the server side. The
+ * request won't be sent if it was waiting to be sent or the
+ * response will be ignored if it received after the callback.
+ **/
+ public void cancel();
/**
* Returns the communicator that sent the invocation.