Package com.saperion.rmi
Class SaJNIPrpcResult
java.lang.Object
com.saperion.rmi.SaJNIPrpcResult
- All Implemented Interfaces:
Serializable
Result bean for PRPC.
- Author:
- chm
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSaJNIPrpcResult
(ByteBuffer byteBuffer, String errorMsg, int errCode) Creates a new SaJNIPrpcResutlt. -
Method Summary
Modifier and TypeMethodDescriptionint
-
Constructor Details
-
SaJNIPrpcResult
Creates a new SaJNIPrpcResutlt.- Parameters:
byteBuffer
- the byte buffererrorMsg
- the error messageerrCode
- the error code
-
-
Method Details
-
getBuffer
- Returns:
- the byte buffer containing the returned bytes
-
getErrorMessage
- Returns:
- the error message or an empty string if there was no error
-
getErrorCode
public int getErrorCode()- Returns:
- the error code or 0 if there was no error
-