summaryrefslogtreecommitdiff
path: root/java/src/Ice/AMD_Object_ice_invoke.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/Ice/AMD_Object_ice_invoke.java')
-rw-r--r--java/src/Ice/AMD_Object_ice_invoke.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/java/src/Ice/AMD_Object_ice_invoke.java b/java/src/Ice/AMD_Object_ice_invoke.java
index 43a0edc9765..8a7d9733c99 100644
--- a/java/src/Ice/AMD_Object_ice_invoke.java
+++ b/java/src/Ice/AMD_Object_ice_invoke.java
@@ -9,8 +9,33 @@
package Ice;
+/**
+ * Callback interface for <Blobject> AMD servants.
+ *
+ @see BlobjectAsync
+ **/
public interface AMD_Object_ice_invoke
{
+ /**
+ * Indicates to the Ice run time that an operation
+ * completed.
+ *
+ * @param ok <code>true</code> indicates that the operation
+ * completed successfully; <code>false</code> indicates that the
+ * operation raised user exception.
+ * @param outParams The encoded out-parameters for the operation or,
+ * if <code>ok</code> is <code>false</code>, the encoded user exception.
+ **/
void ice_response(boolean ok, byte[] outParams);
+
+ /**
+ * Indicates to the Ice run time that an operation completed
+ * with a run-time exception.
+ *
+ * @param ex The encoded Ice run-time exception. Note that, if <code>ex</code>
+ * is a user exception, the caller receives <code>UnknownUserException</code>.
+ * Use <code>ice_response</code> to raise user exceptions.
+ **/
+
void ice_exception(java.lang.Exception ex);
}