summaryrefslogtreecommitdiff
path: root/java/src/Ice/AsyncCallback.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/Ice/AsyncCallback.java')
-rw-r--r--java/src/Ice/AsyncCallback.java30
1 files changed, 2 insertions, 28 deletions
diff --git a/java/src/Ice/AsyncCallback.java b/java/src/Ice/AsyncCallback.java
index f8a5811cb20..89fd3735bb0 100644
--- a/java/src/Ice/AsyncCallback.java
+++ b/java/src/Ice/AsyncCallback.java
@@ -13,35 +13,9 @@ package Ice;
* An application can optionally supply an instance of this class in an
* asynchronous invocation. The application must create a subclass and
* implement the completed method.
+ *
+ * @deprecated This class is deprecated, use Ice.Callback instead.
**/
public abstract class AsyncCallback extends Callback
{
- /**
- * Invoked when the invocation completes. The subclass should
- * call the matching <code>end_OP</code> method on the proxy and
- * must be prepared to handle exceptions.
- *
- * @param r The asynchronous result object returned by the <code>begin_OP</code> method.
- **/
- public abstract void completed(AsyncResult r);
-
- /**
- * Invoked when the Ice run time has passed the outgoing message
- * buffer to the transport.
- *
- * @param r The asynchronous result object returned by the <code>begin_OP</code> method.
- **/
- public void sent(AsyncResult r)
- {
- }
-
- public final void __completed(AsyncResult r)
- {
- completed(r);
- }
-
- public final void __sent(AsyncResult r)
- {
- sent(r);
- }
}