Class SaJNIPrpcResult

java.lang.Object
com.saperion.rmi.SaJNIPrpcResult
All Implemented Interfaces:
Serializable

public class SaJNIPrpcResult extends Object implements Serializable
Result bean for PRPC.
Author:
chm
See Also:
  • Constructor Details

    • SaJNIPrpcResult

      public SaJNIPrpcResult(ByteBuffer byteBuffer, String errorMsg, int errCode)
      Creates a new SaJNIPrpcResutlt.
      Parameters:
      byteBuffer - the byte buffer
      errorMsg - the error message
      errCode - the error code
  • Method Details

    • getBuffer

      public ByteBuffer getBuffer()
      Returns:
      the byte buffer containing the returned bytes
    • getErrorMessage

      public 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