summaryrefslogtreecommitdiff
path: root/java/src/IceInternal/OutgoingAsyncMessageCallback.java
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2014-05-23 11:59:44 +0200
committerBenoit Foucher <benoit@zeroc.com>2014-05-23 11:59:44 +0200
commitd81701ca8182942b7936f9fd84a019b695e9c890 (patch)
treedc036c9d701fbbe1afad67782bd78572c0f61974 /java/src/IceInternal/OutgoingAsyncMessageCallback.java
parentFixed bug ICE-5543: stringToIdentity bug with escaped escapes (diff)
downloadice-d81701ca8182942b7936f9fd84a019b695e9c890.tar.bz2
ice-d81701ca8182942b7936f9fd84a019b695e9c890.tar.xz
ice-d81701ca8182942b7936f9fd84a019b695e9c890.zip
Added support for invocation timeouts and ACM heartbeats
Diffstat (limited to 'java/src/IceInternal/OutgoingAsyncMessageCallback.java')
-rw-r--r--java/src/IceInternal/OutgoingAsyncMessageCallback.java14
1 files changed, 10 insertions, 4 deletions
diff --git a/java/src/IceInternal/OutgoingAsyncMessageCallback.java b/java/src/IceInternal/OutgoingAsyncMessageCallback.java
index 5719005d399..bd710644a9e 100644
--- a/java/src/IceInternal/OutgoingAsyncMessageCallback.java
+++ b/java/src/IceInternal/OutgoingAsyncMessageCallback.java
@@ -16,18 +16,24 @@ package IceInternal;
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;
+
+ //
// 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 __sent() method bellow (which in turn should call the sent
- // callback).
+ // connection will call the __invokeSent() method bellow (which in turn should call the
+ // sent callback).
//
- public abstract boolean __sent(Ice.ConnectionI connection);
+ public abstract boolean __sent();
//
// Called by the connection to call the user sent callback.
//
- public abstract void __sent();
+ public abstract void __invokeSent();
//
// Called by the connection when the request failed. The boolean indicates whether or