Class MountRequest
java.lang.Object
com.emc.ecs.nfsclient.rpc.RpcRequest
com.emc.ecs.nfsclient.mount.MountRequest
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.
-
Field Summary
Fields inherited from class RpcRequest
CHARSET -
Constructor Summary
ConstructorsConstructorDescriptionMountRequest(int nfsVersion, String exportPointPath, Credential credential) Creates the request, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813). -
Method Summary
Modifier and TypeMethodDescriptionReturns an appropriate error message.voidmarshalling(Xdr x) Writes the RPC call header and authentication credentials to the XDR buffer.toString()Methods inherited from class RpcRequest
cloneFileHandle, isUsePrivilegedPort, setUsePrivilegedPort, startToString, trimFileName
-
Constructor Details
-
MountRequest
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
Writes the RPC call header and authentication credentials to the XDR buffer.- Overrides:
marshallingin classRpcRequest
-
getErrorMessage
Returns an appropriate error message.- Specified by:
getErrorMessagein classRpcRequest
-
toString
-