summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/OutgoingAsyncMessageCallback.java
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2014-07-15 10:22:40 +0200
committerBenoit Foucher <benoit@zeroc.com>2014-07-15 10:22:40 +0200
commit710a9221852d6c92b1727a429a33b38f1f949352 (patch)
tree6bc9ac9ed04a6b1858d8fc30282d4f18ef04abbb /java/src/IceInternal/OutgoingAsyncMessageCallback.java
parent- Fix for ICE-5578 - Python build failure (diff)
downloadice-710a9221852d6c92b1727a429a33b38f1f949352.tar.bz2
ice-710a9221852d6c92b1727a429a33b38f1f949352.tar.xz
ice-710a9221852d6c92b1727a429a33b38f1f949352.zip
Fixed collocation optimization to use the dispatcher, minor test fixes
Diffstat (limited to 'java/src/IceInternal/OutgoingAsyncMessageCallback.java')
-rw-r--r--java/src/IceInternal/OutgoingAsyncMessageCallback.java15
1 files changed, 9 insertions, 6 deletions
diff --git a/java/src/IceInternal/OutgoingAsyncMessageCallback.java b/java/src/IceInternal/OutgoingAsyncMessageCallback.java
index 8d830987428..4b6b73a8b06 100644
--- a/java/src/IceInternal/OutgoingAsyncMessageCallback.java
+++ b/java/src/IceInternal/OutgoingAsyncMessageCallback.java
@@ -30,17 +30,20 @@ public interface OutgoingAsyncMessageCallback
// connection will call the __invokeSent() method bellow (which in turn should call the
// sent callback).
//
- public abstract boolean __sent();
+ boolean __sent();
//
// Called by the connection to call the user sent callback.
//
- public abstract void __invokeSent();
+ void __invokeSent();
//
- // Called by the connection when the request failed. The boolean indicates whether or
- // not the message was possibly sent (this is useful for retry to figure out whether
- // or not the request can't be retried without breaking at-most-once semantics.)
+ // Called by the connection when the request failed.
//
- public abstract void __finished(Ice.Exception ex, boolean sent);
+ void __finished(Ice.Exception ex);
+
+ //
+ // Helper to dispatch invocation timeout.
+ //
+ void __dispatchInvocationTimeout(ThreadPool threadPool, Ice.Connection connection);
}