Class GetPortResponse
java.lang.Object
com.emc.ecs.nfsclient.rpc.RpcResponse
com.emc.ecs.nfsclient.portmap.GetPortResponse
A Portmapper GETPORT response, as specified by https://tools.ietf.org/html/rfc1833.
-
Field Summary
Fields inherited from class RpcResponse
_xid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetPort()Returns the port number on which the program is awaiting call requests.voidunmarshalling(Xdr x) Load this structure from the response data, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).Methods inherited from class RpcResponse
getAcceptStatus, getDirection, getRejectStatus, getReplyStatus, getXid
-
Constructor Details
-
GetPortResponse
public GetPortResponse()
-
-
Method Details
-
unmarshalling
Load this structure from the response data, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).- Overrides:
unmarshallingin classRpcResponse- Parameters:
x- The xdr response data.- Throws:
RpcException
-
getPort
public int getPort()Returns the port number on which the program is awaiting call requests. A port value of zeros means the program has not been registered. Specified by https://tools.ietf.org/html/rfc1833.
-