summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/GetConnectionOutgoingAsync.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/IceInternal/GetConnectionOutgoingAsync.java')
-rw-r--r--java/src/IceInternal/GetConnectionOutgoingAsync.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/java/src/IceInternal/GetConnectionOutgoingAsync.java b/java/src/IceInternal/GetConnectionOutgoingAsync.java
index 75ef2d9b60f..33613a5c078 100644
--- a/java/src/IceInternal/GetConnectionOutgoingAsync.java
+++ b/java/src/IceInternal/GetConnectionOutgoingAsync.java
@@ -125,6 +125,15 @@ public class GetConnectionOutgoingAsync extends OutgoingAsyncBase implements Out
});
}
+ @Override
+ protected void cancelRequest()
+ {
+ if(_handler != null)
+ {
+ _handler.asyncRequestCanceled(this, new Ice.OperationInterruptedException());
+ }
+ }
+
private void handleException(Ice.Exception exc)
{
try