public class Nfs3WriteRequest extends NfsWriteRequest
Procedure WRITE writes data to a file.
DATA_SYNC, FILE_SYNC, UNSTABLECHARSET| Constructor and Description |
|---|
Nfs3WriteRequest(byte[] fileHandle,
long offset,
java.util.List<java.nio.ByteBuffer> payload,
int syncType,
Credential credential)
Creates the request, as specified by RFC 1813
(https://tools.ietf.org/html/rfc1813).
|
getSize, isSync, marshalling, toStringgetErrorMessage, getFileHandle, getIpKey, startToStringcloneFileHandle, isUsePrivilegedPort, setUsePrivilegedPort, trimFileNamepublic Nfs3WriteRequest(byte[] fileHandle,
long offset,
java.util.List<java.nio.ByteBuffer> payload,
int syncType,
Credential credential)
throws java.io.FileNotFoundException
Procedure WRITE writes data to a file.
fileHandle - The file handle for the file to which data is to be written.
This must identify a file system object of type, NF3REG.offset - The position within the file at which the write is to begin.
An offset of 0 means to write data starting at the beginning
of the file.payload - The data to be written to the file.syncType - One of the values below.
credential - The credential used for RPC authentication.java.io.FileNotFoundException