Пример #1
0
 /**
  * Call remote procedure NFSPROC_RMDIR_2.
  *
  * @param arg1 parameter (of type diropargs) to the remote procedure call.
  * @return Result from remote procedure call (of type stat).
  * @throws OncRpcException if an ONC/RPC error occurs.
  * @throws IOException if an I/O error occurs.
  */
 public int NFSPROC_RMDIR_2(diropargs arg1) throws OncRpcException, IOException {
   XdrInt result$ = new XdrInt();
   client.call(nfs.NFSPROC_RMDIR_2, nfs.NFS_VERSION, arg1, result$);
   return result$.intValue();
 }
Пример #2
0
 /**
  * Call remote procedure NFSPROC_SYMLINK_2.
  *
  * @param arg1 parameter (of type symlinkargs) to the remote procedure call.
  * @return Result from remote procedure call (of type stat).
  * @throws OncRpcException if an ONC/RPC error occurs.
  * @throws IOException if an I/O error occurs.
  */
 public int NFSPROC_SYMLINK_2(symlinkargs arg1) throws OncRpcException, IOException {
   XdrInt result$ = new XdrInt();
   client.call(nfs.NFSPROC_SYMLINK_2, nfs.NFS_VERSION, arg1, result$);
   return result$.intValue();
 }