Class GetPortResponse

java.lang.Object
com.emc.ecs.nfsclient.rpc.RpcResponse
com.emc.ecs.nfsclient.portmap.GetPortResponse

public class GetPortResponse extends RpcResponse
A Portmapper GETPORT response, as specified by https://tools.ietf.org/html/rfc1833.
  • Constructor Details

    • GetPortResponse

      public GetPortResponse()
  • Method Details

    • unmarshalling

      public void unmarshalling(Xdr x) throws RpcException
      Load this structure from the response data, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).
      Overrides:
      unmarshalling in class RpcResponse
      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.