call(PROCEDURE_TEST, XdrVoid.XDR_VOID, XdrVoid.XDR_VOID);
}
public LookupResult lookup(final byte[] fileHandle, final String entryName)
throws NFS2Exception, IOException {
XdrAble nfsParameter = new NFSParameter() {
public void xdrEncode(XdrEncodingStream xdr) throws OncRpcException, IOException {
xdr.xdrEncodeOpaque(fileHandle, NFS2Client.FILE_HANDLE_SIZE);
xdr.xdrEncodeString(entryName);
}
};
final LookupResult result = new LookupResult();
XdrAble nfsResult = new NFSResult() {
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException {
result.setFileHandle(xdr.xdrDecodeOpaque(NFS2Client.FILE_HANDLE_SIZE));
FileAttribute fileAttribute = new FileAttribute();
xdrFileAttributeDecode(xdr, fileAttribute);
result.setFileAttribute(fileAttribute);