Class Nfs3MknodRequest
java.lang.Object
com.emc.ecs.nfsclient.rpc.RpcRequest
com.emc.ecs.nfsclient.nfs.NfsRequestBase
com.emc.ecs.nfsclient.nfs.NfsMknodRequest
com.emc.ecs.nfsclient.nfs.nfs3.Nfs3MknodRequest
- All Implemented Interfaces:
NfsRequest
The request, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).
Procedure MKNOD creates a new special file of the type, type . Special files can
be device files or named pipes.
-
Field Summary
Fields inherited from class RpcRequest
CHARSET -
Constructor Summary
ConstructorsConstructorDescriptionNfs3MknodRequest(byte[] fileHandle, String name, NfsType type, NfsSetAttributes attributes, long[] rdev, Credential credential) Creates the request, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813). -
Method Summary
Methods inherited from class NfsMknodRequest
marshalling, toStringMethods inherited from class NfsRequestBase
getErrorMessage, getFileHandle, getIpKey, startToStringMethods inherited from class RpcRequest
cloneFileHandle, isUsePrivilegedPort, setUsePrivilegedPort, trimFileName
-
Constructor Details
-
Nfs3MknodRequest
public Nfs3MknodRequest(byte[] fileHandle, String name, NfsType type, NfsSetAttributes attributes, long[] rdev, Credential credential) throws FileNotFoundException Creates the request, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).Procedure MKNOD creates a new special file of the type,
type. Special files can be device files or named pipes.- Parameters:
fileHandle- The file handle for the directory in which the special file is to be created.name- The name that is to be associated with the created special file.type- The type of the object to be created.attributes- The initial attributes for the special file.rdev- When creating a character special file (typeisNF3CHR) or a block special file (typeisNF3BLK),rdev[0]is the major number andrdev[1]is the minor number.credential- The credential used for RPC authentication.- Throws:
FileNotFoundException
-