/**
         * Call remote procedure MOUNTPROC_EXPORT_1.
         * @return Result from remote procedure call (of type exports).
         * @throws OncRpcException if an ONC/RPC error occurs.
         * @throws IOException if an I/O error occurs.
         */
        public Exports MOUNTPROC_EXPORT()
        {
            XdrVoid args_ = XdrVoid.XDR_VOID;
            Exports result_ = new Exports();

            client.call(NFSv2MountProtocol.MOUNTPROC_EXPORT, NFSv2MountProtocol.MOUNTVERS, args_, result_);

            return result_;
        }
Esempio n. 2
0
 public void xdrDecode(XdrDecodingStream xdr)
 {
     this._mountpath = new Name(xdr);
     this._exgroups = new Groups(xdr);
     this._next = new Exports(xdr);
 }