public class NfsLinkResponse extends NfsResponseBase
Procedure LINK creates a hard link from fileHandle to
name, in the directory, parentDirectoryFileHandle.
fileHandle and parentDirectoryFileHandle must
reside on the same file system and server.
_xid| Constructor and Description |
|---|
NfsLinkResponse(int nfsVersion)
Creates the response, as specified by RFC 1813
(https://tools.ietf.org/html/rfc1813).
|
| Modifier and Type | Method and Description |
|---|---|
NfsWccData |
getDirectoryWccData() |
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 NfsLinkResponse(int nfsVersion)
Procedure LINK creates a hard link from fileHandle to
name, in the directory,
parentDirectoryFileHandle. fileHandle and
parentDirectoryFileHandle 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 getDirectoryWccData()
parentDirectoryFileHandle.