Class RpcResponse

java.lang.Object
com.emc.ecs.nfsclient.rpc.RpcResponse
Direct Known Subclasses:
GetPortResponse, MountResponse, NfsResponseBase

public class RpcResponse extends Object
An RPC response, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
    The xid from the request, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the accept status, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).
    int
    Returns the message type, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).
    int
    Returns the reject status, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).
    int
    Returns the reply status, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).
    int
    The xid from the request, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).
    void
    Load this structure from the response data, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • _xid

      protected int _xid
      The xid from the request, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).
  • Constructor Details

    • RpcResponse

      public RpcResponse()
  • Method Details

    • unmarshalling

      public void unmarshalling(Xdr xdr) throws RpcException
      Load this structure from the response data, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).
      Parameters:
      xdr - The xdr response data.
      Throws:
      RpcException
    • getXid

      public int getXid()
      The xid from the request, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).
    • getDirection

      public int getDirection()
      Returns the message type, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831). Should be 1 (REPLY).
    • getReplyStatus

      public int getReplyStatus()
      Returns the reply status, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).
    • getAcceptStatus

      public int getAcceptStatus()
      Returns the accept status, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).
    • getRejectStatus

      public int getRejectStatus()
      Returns the reject status, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).