public class NfsLookupResponse extends NfsResponseBase
Procedure LOOKUP searches a directory for a specific name and returns the file handle for the corresponding file system object.
_xid| Constructor and Description |
|---|
NfsLookupResponse(int nfsVersion)
Creates the response, as specified by RFC 1813
(https://tools.ietf.org/html/rfc1813).
|
| Modifier and Type | Method and Description |
|---|---|
NfsGetAttributes |
getDirectoryAttributes() |
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 NfsLookupResponse(int nfsVersion)
Procedure LOOKUP searches a directory for a specific name and returns the file handle for the corresponding file system object.
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 NfsGetAttributes getDirectoryAttributes()