diff options
author | Benoit Foucher <benoit@zeroc.com> | 2014-06-27 10:31:41 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2014-06-27 10:31:41 +0200 |
commit | a4f93259dc3494d98addf38e69b87eb557d432b3 (patch) | |
tree | d2b78bb5cea24e33dc1b46be22dba6167e96c9ed /java/src/IceInternal/OutgoingAsyncMessageCallback.java | |
parent | Fix for ICE-5515 (ice_staticId on proxies) in Java, C#, Python, Ruby and PHP ... (diff) | |
download | ice-a4f93259dc3494d98addf38e69b87eb557d432b3.tar.bz2 ice-a4f93259dc3494d98addf38e69b87eb557d432b3.tar.xz ice-a4f93259dc3494d98addf38e69b87eb557d432b3.zip |
Better collocation optimization, fix for ICE-5489, ICE-5484
Diffstat (limited to 'java/src/IceInternal/OutgoingAsyncMessageCallback.java')
-rw-r--r-- | java/src/IceInternal/OutgoingAsyncMessageCallback.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/java/src/IceInternal/OutgoingAsyncMessageCallback.java b/java/src/IceInternal/OutgoingAsyncMessageCallback.java index bd710644a9e..8d830987428 100644 --- a/java/src/IceInternal/OutgoingAsyncMessageCallback.java +++ b/java/src/IceInternal/OutgoingAsyncMessageCallback.java @@ -19,7 +19,9 @@ public interface OutgoingAsyncMessageCallback // Called by the request handler to send the request over the connection. // int __send(Ice.ConnectionI conection, boolean compress, boolean response) - throws LocalExceptionWrapper; + throws RetryException; + + int __invokeCollocated(CollocatedRequestHandler handler); // // Called by the connection when the message is confirmed sent. The connection is locked @@ -40,5 +42,5 @@ public interface OutgoingAsyncMessageCallback // 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.) // - public abstract void __finished(Ice.LocalException ex, boolean sent); + public abstract void __finished(Ice.Exception ex, boolean sent); } |