Esempio n. 1
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 nfsstat).
         * @throws OncRpcException if an ONC/RPC error occurs.
         * @throws IOException if an I/O error occurs.
         */
        public int NFSPROC_SYMLINK(SymlinkArguments arg1)
        {
            XdrInt result_ = new XdrInt();

            client.call(NFSv2Protocol.NFSPROC_SYMLINK, NFSv2Protocol.NFS_VERSION, arg1, result_);

            return result_.intValue();
        }
Esempio n. 2
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 nfsstat).
         * @throws OncRpcException if an ONC/RPC error occurs.
         * @throws IOException if an I/O error occurs.
         */
        public int NFSPROC_RMDIR(ItemOperationArguments arg1)
        {
            XdrInt result_ = new XdrInt();

            client.call(NFSv2Protocol.NFSPROC_RMDIR, NFSv2Protocol.NFS_VERSION, arg1, result_);

            return result_.intValue();
        }
Esempio n. 3
0
        /**
         * Call remote procedure NFSPROC_RENAME_2.
         * @param arg1 parameter (of type renameargs) to the remote procedure call.
         * @return Result from remote procedure call (of type nfsstat).
         * @throws OncRpcException if an ONC/RPC error occurs.
         * @throws IOException if an I/O error occurs.
         */
        public int NFSPROC_RENAME(RenameArguments arg1)
        {
            XdrInt result_ = new XdrInt();

            client.call(NFSv2Protocol.NFSPROC_RENAME, NFSv2Protocol.NFS_VERSION, arg1, result_);

            return result_.intValue();
        }