java.lang.Object
com.zeroc.Ice.Object.Ice_invokeResult
- Enclosing interface:
- Object
Holds the results of a call to
ice_invoke
.-
Field Summary
FieldsModifier and TypeFieldDescriptionbyte[]
The encoded out-parameters and return value for the operation.boolean
If the operation completed successfully, the return value istrue
. -
Constructor Summary
ConstructorsConstructorDescriptionDefault initializes the fields.Ice_invokeResult
(boolean returnValue, byte[] outParams) Primary constructor to initialize the fields. -
Method Summary
-
Field Details
-
returnValue
public boolean returnValueIf the operation completed successfully, the return value istrue
. If the operation raises a user exception, the return value isfalse
; in this case,outParams
contains the encoded user exception. If the operation raises a run-time exception, it throws it directly. -
outParams
public byte[] outParamsThe encoded out-parameters and return value for the operation. The return value follows any out-parameters.
-
-
Constructor Details
-
Ice_invokeResult
public Ice_invokeResult()Default initializes the fields. -
Ice_invokeResult
public Ice_invokeResult(boolean returnValue, byte[] outParams) Primary constructor to initialize the fields.- Parameters:
returnValue
-true
for a successful invocation with any results encoded inoutParams
;false
if a user exception occurred with the exception encoded inoutParams
.outParams
- The encoded results.
-