Class NfsLinkResponse
java.lang.Object
com.emc.ecs.nfsclient.rpc.RpcResponse
com.emc.ecs.nfsclient.nfs.NfsResponseBase
com.emc.ecs.nfsclient.nfs.NfsLinkResponse
- Direct Known Subclasses:
Nfs3LinkResponse
The response, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).
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.
-
Field Summary
Fields inherited from class RpcResponse
_xid -
Constructor Summary
ConstructorsConstructorDescriptionNfsLinkResponse(int nfsVersion) Creates the response, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813). -
Method Summary
Modifier and TypeMethodDescriptionReturns weak cache consistency data for the directory,parentDirectoryFileHandle.voidunmarshalling(Xdr xdr) Load this structure from the response data, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).Methods inherited from class NfsResponseBase
getAttributes, getFileHandle, getState, makeNfsGetAttributes, makeNfsGetAttributes, stateIsOk, toString, unmarshallingAttributes, unmarshallingAttributes, unmarshallingFileHandle, unmarshallingFileHandleMethods inherited from class RpcResponse
getAcceptStatus, getDirection, getRejectStatus, getReplyStatus, getXid
-
Constructor Details
-
NfsLinkResponse
public NfsLinkResponse(int nfsVersion) Creates the response, as specified by RFC 1813 (https://tools.ietf.org/html/rfc1813).Procedure LINK creates a hard link from
fileHandletoname, in the directory,parentDirectoryFileHandle.fileHandleandparentDirectoryFileHandlemust reside on the same file system and server.- Parameters:
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.
-
-
Method Details
-
unmarshalling
Load this structure from the response data, as specified by RFC 1831 (https://tools.ietf.org/html/rfc1831).- Overrides:
unmarshallingin classNfsResponseBase- Parameters:
xdr- The xdr response data.- Throws:
RpcException
-
getDirectoryWccData
Returns weak cache consistency data for the directory,parentDirectoryFileHandle.
-