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 (in that order).booleantrueif the operation completed successfully,falseif the operation threw a user exception. -
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 returnValuetrueif the operation completed successfully,falseif the operation threw a user exception. Iffalse,outParamscontains 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 (in that order).
-
-
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-truefor a successful invocation (any results are encoded inoutParams);falseif a user exception occurred (the exception is encoded inoutParams).outParams- the encoded results of the operation
-