Class MountRequest

java.lang.Object
com.emc.ecs.nfsclient.rpc.RpcRequest
com.emc.ecs.nfsclient.mount.MountRequest

public class MountRequest extends RpcRequest
Representation of a Mount request, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).

Procedure MNT maps a pathname on the server to a file handle.

  • Constructor Details

    • MountRequest

      public MountRequest(int nfsVersion, String exportPointPath, Credential credential)
      Creates the request, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).

      Procedure MNT maps a pathname on the server to a file handle.

      Parameters:
      nfsVersion - The NFS version number.
      exportPointPath - An ASCII string that describes a directory on the server.
      credential - The credential used for RPC authentication.
  • Method Details

    • marshalling

      public void marshalling(Xdr x)
      Writes the RPC call header and authentication credentials to the XDR buffer.
      Overrides:
      marshalling in class RpcRequest
    • getErrorMessage

      public String getErrorMessage()
      Returns an appropriate error message.
      Specified by:
      getErrorMessage in class RpcRequest
    • toString

      public String toString()
      Overrides:
      toString in class Object