Class RpcResponse
java.lang.Object
com.emc.ecs.nfsclient.rpc.RpcResponse
- Direct Known Subclasses:
GetPortResponse, MountResponse, NfsResponseBase
An RPC response, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intThexidfrom the request, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the accept status, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).intReturns the message type, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).intReturns the reject status, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).intReturns the reply status, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).intgetXid()Thexidfrom the request, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).voidunmarshalling(Xdr xdr) Load this structure from the response data, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).
-
Field Details
-
_xid
protected int _xidThexidfrom the request, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).
-
-
Constructor Details
-
RpcResponse
public RpcResponse()
-
-
Method Details
-
unmarshalling
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()Thexidfrom 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).
-