Package com.saperion.rmi
Class SaJNIPrpcResult
- java.lang.Object
-
- com.saperion.rmi.SaJNIPrpcResult
-
- All Implemented Interfaces:
java.io.Serializable
public class SaJNIPrpcResult extends java.lang.Object implements java.io.Serializable
Result bean for PRPC.- Author:
- chm
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SaJNIPrpcResult(java.nio.ByteBuffer byteBuffer, java.lang.String errorMsg, int errCode)
Creates a new SaJNIPrpcResutlt.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffer
getBuffer()
int
getErrorCode()
java.lang.String
getErrorMessage()
-
-
-
Method Detail
-
getBuffer
public java.nio.ByteBuffer getBuffer()
- Returns:
- the byte buffer containing the returned bytes
-
getErrorMessage
public java.lang.String 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
-
-