diff options
author | Michi Henning <michi@zeroc.com> | 2009-08-17 11:58:02 +1000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2009-08-17 11:58:02 +1000 |
commit | d8c52043937b6c128372ad6fa98762a88833e5d5 (patch) | |
tree | da38a5ad11b2651be79f92787cc684d12eb70d3e /java/src | |
parent | Added cooment regarding having bin in PATH as well (diff) | |
download | ice-d8c52043937b6c128372ad6fa98762a88833e5d5.tar.bz2 ice-d8c52043937b6c128372ad6fa98762a88833e5d5.tar.xz ice-d8c52043937b6c128372ad6fa98762a88833e5d5.zip |
Bug 4213 - Properly document ice_invoke_async return code
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/Ice/ObjectPrx.java | 24 | ||||
-rw-r--r-- | java/src/Ice/ObjectPrxHelperBase.java | 18 |
2 files changed, 18 insertions, 24 deletions
diff --git a/java/src/Ice/ObjectPrx.java b/java/src/Ice/ObjectPrx.java index d1d4de3fb8f..e9cfa74be2f 100644 --- a/java/src/Ice/ObjectPrx.java +++ b/java/src/Ice/ObjectPrx.java @@ -127,9 +127,11 @@ public interface ObjectPrx * @param outParams The encoded out-paramaters and return value * for the operation. The return value follows any out-parameters. * @param __context The context map for the invocation. - * @return If the operation was invoked synchronously (because there - * was no need to queue the request, the return value is <code>true</code>; - * otherwise, if the invocation was queued, the return value is <code>false</code>. + * @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> + * contains the encoded user exception. If the operation raises a run-time exception, + * it throws it directly. * * @see Blobject * @see OperationMode @@ -144,11 +146,9 @@ public interface ObjectPrx * @param operation The name of the operation to invoke. * @param mode The operation mode (normal or idempotent). * @param inParams The encoded in-parameters for the operation. - * @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> - * contains the encoded user exception. If the operation raises a run-time exception, - * it throws it directly. + * @return If the operation was invoked synchronously (because there + * was no need to queue the request), the return value is <code>true</code>; + * otherwise, if the invocation was queued, the return value is <code>false</code>. * * @see AMI_Object_ice_invoke * @see OperationMode @@ -163,11 +163,9 @@ public interface ObjectPrx * @param mode The operation mode (normal or idempotent). * @param inParams The encoded in-parameters for the operation. * @param context The context map for the invocation. - * @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> - * contains the encoded user exception. If the operation raises a run-time exception, - * it throws it directly. + * @return If the operation was invoked synchronously (because there + * was no need to queue the request), the return value is <code>true</code>; + * otherwise, if the invocation was queued, the return value is <code>false</code>. * * @see AMI_Object_ice_invoke * @see OperationMode diff --git a/java/src/Ice/ObjectPrxHelperBase.java b/java/src/Ice/ObjectPrxHelperBase.java index 63a8f606801..b7c01ab8553 100644 --- a/java/src/Ice/ObjectPrxHelperBase.java +++ b/java/src/Ice/ObjectPrxHelperBase.java @@ -306,7 +306,7 @@ public class ObjectPrxHelperBase implements ObjectPrx, java.io.Serializable * for the operation. The return value follows any out-parameters. * @param __context The context map for the invocation. * @return If the operation was invoked synchronously (because there - * was no need to queue the request, the return value is <code>true</code>; + * was no need to queue the request), the return value is <code>true</code>; * otherwise, if the invocation was queued, the return value is <code>false</code>. * * @see Blobject @@ -362,11 +362,9 @@ public class ObjectPrxHelperBase implements ObjectPrx, java.io.Serializable * @param operation The name of the operation to invoke. * @param mode The operation mode (normal or idempotent). * @param inParams The encoded in-parameters for the operation. - * @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> - * contains the encoded user exception. If the operation raised an - * it throws it directly. + * @return If the operation was invoked synchronously (because there + * was no need to queue the request), the return value is <code>true</code>; + * otherwise, if the invocation was queued, the return value is <code>false</code>. * * @see AMI_Object_ice_invoke * @see OperationMode @@ -386,11 +384,9 @@ public class ObjectPrxHelperBase implements ObjectPrx, java.io.Serializable * @param mode The operation mode (normal or idempotent). * @param inParams The encoded in-parameters for the operation. * @param __context The context map for the invocation. - * @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> - * contains the encoded user exception. If the operation raised an - * it throws it directly. + * @return If the operation was invoked synchronously (because there + * was no need to queue the request), the return value is <code>true</code>; + * otherwise, if the invocation was queued, the return value is <code>false</code>. * * @see AMI_Object_ice_invoke * @see OperationMode |