summaryrefslogtreecommitdiff
path: root/java/src/Ice/Blobject.java
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2009-06-04 16:19:02 +1000
committerMichi Henning <michi@zeroc.com>2009-06-04 16:19:02 +1000
commit45a3f61401e8c6cccc841fa43a4b35f9f5a444a8 (patch)
tree2d328e013b11a6e3724256cb471f6827c94b6e7d /java/src/Ice/Blobject.java
parentFixed BCC compile errors (diff)
downloadice-45a3f61401e8c6cccc841fa43a4b35f9f5a444a8.tar.bz2
ice-45a3f61401e8c6cccc841fa43a4b35f9f5a444a8.tar.xz
ice-45a3f61401e8c6cccc841fa43a4b35f9f5a444a8.zip
Lots of javadoc comments.
Diffstat (limited to 'java/src/Ice/Blobject.java')
-rw-r--r--java/src/Ice/Blobject.java18
1 files changed, 17 insertions, 1 deletions
diff --git a/java/src/Ice/Blobject.java b/java/src/Ice/Blobject.java
index 67ac51fc6dc..61f739baa4c 100644
--- a/java/src/Ice/Blobject.java
+++ b/java/src/Ice/Blobject.java
@@ -9,9 +9,25 @@
package Ice;
+/**
+ * Base class for dynamic dispatch servants. A server application
+ * derives a concrete servant class from <code>Blobject</code. that
+ * implements the <code>ice_invoke</code> method.
+ **/
public abstract class Blobject extends Ice.ObjectImpl
{
- // Returns true if ok, false if user exception.
+ /**
+ * Dispatch an incoming request.
+ *
+ * @param inParams The encoded in-parameters for the operation.
+ * @param outParams The encoded out-paramaters and return value
+ * for the operation. The return value follows any out-parameters.
+ * @return If the operation completed successfully, the return value
+ * is <code>true</code>. If the operation raises a user exception,
+ * the return value is <code>false</code>; in this case, <code>outParams</code>
+ * must contain the encoded user exception. If the operation raises an
+ * Ice run-time exception, it must throw it directly.
+ **/
public abstract boolean
ice_invoke(byte[] inParams, ByteSeqHolder outParams, Current current);