diff options
author | Matthew Newhook <matthew@zeroc.com> | 2014-09-03 11:01:11 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2014-09-03 11:01:11 -0230 |
commit | 3b0588532354adf7bf3b86e611a8ae4996bfe6ad (patch) | |
tree | 253961cb83af7bc3b1dfc7633a8f934789476cd1 /java/src/IceInternal/OutgoingAsyncMessageCallback.java | |
parent | More work on ICE-2400: the send log thread now uses a separate communicator t... (diff) | |
download | ice-3b0588532354adf7bf3b86e611a8ae4996bfe6ad.tar.bz2 ice-3b0588532354adf7bf3b86e611a8ae4996bfe6ad.tar.xz ice-3b0588532354adf7bf3b86e611a8ae4996bfe6ad.zip |
- C#, Java: Removed Outgoing, fixed generated code to make synchronous
requests using AMI.
- Java: AsyncResult is now an interface.
- Added --arg to allTests.py.
- Fixed operations, adapterDeactivation and metrics test to work with
background IO.
- Added Collocated interrupt test.
- Added support for batch oneway requests using AMI.
- Added test in operations for batch oneway requests using AMI.
Diffstat (limited to 'java/src/IceInternal/OutgoingAsyncMessageCallback.java')
-rw-r--r-- | java/src/IceInternal/OutgoingAsyncMessageCallback.java | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/java/src/IceInternal/OutgoingAsyncMessageCallback.java b/java/src/IceInternal/OutgoingAsyncMessageCallback.java index 6c2259b35be..95c5fd2bb45 100644 --- a/java/src/IceInternal/OutgoingAsyncMessageCallback.java +++ b/java/src/IceInternal/OutgoingAsyncMessageCallback.java @@ -18,32 +18,33 @@ public interface OutgoingAsyncMessageCallback // // Called by the request handler to send the request over the connection. // - int __send(Ice.ConnectionI conection, boolean compress, boolean response) + int send(Ice.ConnectionI conection, boolean compress, boolean response) throws RetryException; - int __invokeCollocated(CollocatedRequestHandler handler); + int invokeCollocated(CollocatedRequestHandler handler); // - // Called by the connection when the message is confirmed sent. The connection is locked - // when this is called so this method can call the sent callback. Instead, this method - // returns true if there's a sent callback and false otherwise. If true is returned, the - // connection will call the __invokeSent() method bellow (which in turn should call the - // sent callback). + // Called by the connection when the message is confirmed sent. The + // connection is locked when this is called so this method can't call the + // sent callback. Instead, this method returns true if there's a sent + // callback and false otherwise. If true is returned, the connection will + // call the __invokeSent() method bellow (which in turn should call the sent + // callback). // - boolean __sent(); + boolean sent(); // // Called by the connection to call the user sent callback. // - void __invokeSent(); + void invokeSent(); // // Called by the connection when the request failed. // - void __finished(Ice.Exception ex); + void finished(Ice.Exception ex); // // Helper to dispatch the cancellation exception. // - void __dispatchInvocationCancel(Ice.LocalException ex, ThreadPool threadPool, Ice.Connection connection); + void dispatchInvocationCancel(Ice.LocalException ex, ThreadPool threadPool, Ice.Connection connection); } |