public class NfsRenameResponse extends NfsResponseBase
Procedure RENAME renames the file identified by name in the
directory, fileHandle, to toName in the directory,
toFileHandle. The operation is required to be atomic to the
client. toFileHandle and fileHandle must reside on
the same file system and server.
_xid| Constructor and Description |
|---|
NfsRenameResponse(int nfsVersion)
Creates the response, as specified by RFC 1813
(https://tools.ietf.org/html/rfc1813).
|
| Modifier and Type | Method and Description |
|---|---|
NfsWccData |
getFromDirectoryWccData() |
NfsWccData |
getToDirectoryWccData() |
void |
unmarshalling(Xdr xdr)
Load this structure from the response data, as specified by RFC 1831
(https://tools.ietf.org/html/rfc1831).
|
getAttributes, getFileHandle, getState, makeNfsGetAttributes, makeNfsGetAttributes, stateIsOk, toString, unmarshallingAttributes, unmarshallingAttributes, unmarshallingFileHandle, unmarshallingFileHandlegetAcceptStatus, getDirection, getRejectStatus, getReplyStatus, getXidpublic NfsRenameResponse(int nfsVersion)
Procedure RENAME renames the file identified by name in the
directory, fileHandle, to toName in the
directory, toFileHandle. The operation is required to be
atomic to the client. toFileHandle and
fileHandle must reside on the same file system and server.
nfsVersion - The NFS version number. This is ignored for now, as only NFSv3
is supported, but is included to allow future support for
other versions.public void unmarshalling(Xdr xdr) throws RpcException
RpcResponseunmarshalling in class NfsResponseBasexdr - The xdr response data.RpcExceptionpublic NfsWccData getFromDirectoryWccData()
public NfsWccData getToDirectoryWccData()