Class nfsClient


  • public class nfsClient
    extends org.acplt.oncrpc.OncRpcClientStub
    The class nfsClient implements the client stub proxy for the NFS_PROGRAM remote program. It provides method stubs which, when called, in turn call the appropriate remote method (procedure).
    • Constructor Detail

      • nfsClient

        public nfsClient()
                  throws org.acplt.oncrpc.OncRpcException,
                         IOException
        Constructs a nfsClient client stub proxy dummy.
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • nfsClient

        public nfsClient​(InetAddress host,
                         int protocol)
                  throws org.acplt.oncrpc.OncRpcException,
                         IOException
        Constructs a nfsClient client stub proxy object from which the NFS_PROGRAM remote program can be accessed.
        Parameters:
        host - Internet address of host where to contact the remote program.
        protocol - Protocol to be used for ONC/RPC calls.
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • nfsClient

        public nfsClient​(InetAddress host,
                         int port,
                         int protocol)
                  throws org.acplt.oncrpc.OncRpcException,
                         IOException
        Constructs a nfsClient client stub proxy object from which the NFS_PROGRAM remote program can be accessed.
        Parameters:
        host - Internet address of host where to contact the remote program.
        port - Port number at host where the remote program can be reached.
        protocol - Protocol to be used for ONC/RPC calls.
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • nfsClient

        public nfsClient​(org.acplt.oncrpc.OncRpcClient client)
                  throws org.acplt.oncrpc.OncRpcException,
                         IOException
        Constructs a nfsClient client stub proxy object from which the NFS_PROGRAM remote program can be accessed.
        Parameters:
        client - ONC/RPC client connection object implementing a particular protocol.
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • nfsClient

        public nfsClient​(InetAddress host,
                         int program,
                         int version,
                         int protocol)
                  throws org.acplt.oncrpc.OncRpcException,
                         IOException
        Constructs a nfsClient client stub proxy object from which the NFS_PROGRAM remote program can be accessed.
        Parameters:
        host - Internet address of host where to contact the remote program.
        program - Remote program number.
        version - Remote program version number.
        protocol - Protocol to be used for ONC/RPC calls.
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • nfsClient

        public nfsClient​(InetAddress host,
                         int program,
                         int version,
                         int port,
                         int protocol)
                  throws org.acplt.oncrpc.OncRpcException,
                         IOException
        Constructs a nfsClient client stub proxy object from which the NFS_PROGRAM remote program can be accessed.
        Parameters:
        host - Internet address of host where to contact the remote program.
        program - Remote program number.
        version - Remote program version number.
        port - Port number at host where the remote program can be reached.
        protocol - Protocol to be used for ONC/RPC calls.
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
    • Method Detail

      • NFSPROC_NULL_2

        public void NFSPROC_NULL_2()
                            throws org.acplt.oncrpc.OncRpcException,
                                   IOException
        Call remote procedure NFSPROC_NULL_2.
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • NFSPROC_GETATTR_2

        public AttrStat NFSPROC_GETATTR_2​(FHandle arg1)
                                   throws org.acplt.oncrpc.OncRpcException,
                                          IOException
        Call remote procedure NFSPROC_GETATTR_2.
        Parameters:
        arg1 - parameter (of type FHandle) to the remote procedure call.
        Returns:
        Result from remote procedure call (of type AttrStat).
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • NFSPROC_SETATTR_2

        public AttrStat NFSPROC_SETATTR_2​(SAttrArgs arg1)
                                   throws org.acplt.oncrpc.OncRpcException,
                                          IOException
        Call remote procedure NFSPROC_SETATTR_2.
        Parameters:
        arg1 - parameter (of type SAttrArgs) to the remote procedure call.
        Returns:
        Result from remote procedure call (of type AttrStat).
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • NFSPROC_ROOT_2

        public void NFSPROC_ROOT_2()
                            throws org.acplt.oncrpc.OncRpcException,
                                   IOException
        Call remote procedure NFSPROC_ROOT_2.
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • NFSPROC_LOOKUP_2

        public DirOpRes NFSPROC_LOOKUP_2​(DirOpArgs arg1)
                                  throws org.acplt.oncrpc.OncRpcException,
                                         IOException
        Call remote procedure NFSPROC_LOOKUP_2.
        Parameters:
        arg1 - parameter (of type DirOpArgs) to the remote procedure call.
        Returns:
        Result from remote procedure call (of type DirOpRes).
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • NFSPROC_READLINK_2

        public ReadLinkRes NFSPROC_READLINK_2​(FHandle arg1)
                                       throws org.acplt.oncrpc.OncRpcException,
                                              IOException
        Call remote procedure NFSPROC_READLINK_2.
        Parameters:
        arg1 - parameter (of type FHandle) to the remote procedure call.
        Returns:
        Result from remote procedure call (of type ReadLinkRes).
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • NFSPROC_READ_2

        public ReadRes NFSPROC_READ_2​(ReadArgs arg1)
                               throws org.acplt.oncrpc.OncRpcException,
                                      IOException
        Call remote procedure NFSPROC_READ_2.
        Parameters:
        arg1 - parameter (of type ReadArgs) to the remote procedure call.
        Returns:
        Result from remote procedure call (of type ReadRes).
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • NFSPROC_WRITECACHE_2

        public void NFSPROC_WRITECACHE_2()
                                  throws org.acplt.oncrpc.OncRpcException,
                                         IOException
        Call remote procedure NFSPROC_WRITECACHE_2.
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • NFSPROC_WRITE_2

        public AttrStat NFSPROC_WRITE_2​(WriteArgs arg1)
                                 throws org.acplt.oncrpc.OncRpcException,
                                        IOException
        Call remote procedure NFSPROC_WRITE_2.
        Parameters:
        arg1 - parameter (of type WriteArgs) to the remote procedure call.
        Returns:
        Result from remote procedure call (of type AttrStat).
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • NFSPROC_CREATE_2

        public DirOpRes NFSPROC_CREATE_2​(CreateArgs arg1)
                                  throws org.acplt.oncrpc.OncRpcException,
                                         IOException
        Call remote procedure NFSPROC_CREATE_2.
        Parameters:
        arg1 - parameter (of type CreateArgs) to the remote procedure call.
        Returns:
        Result from remote procedure call (of type DirOpRes).
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • NFSPROC_REMOVE_2

        public int NFSPROC_REMOVE_2​(DirOpArgs arg1)
                             throws org.acplt.oncrpc.OncRpcException,
                                    IOException
        Call remote procedure NFSPROC_REMOVE_2.
        Parameters:
        arg1 - parameter (of type DirOpArgs) to the remote procedure call.
        Returns:
        Result from remote procedure call (of type Stat).
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • NFSPROC_RENAME_2

        public int NFSPROC_RENAME_2​(RenameArgs arg1)
                             throws org.acplt.oncrpc.OncRpcException,
                                    IOException
        Call remote procedure NFSPROC_RENAME_2.
        Parameters:
        arg1 - parameter (of type RenameArgs) to the remote procedure call.
        Returns:
        Result from remote procedure call (of type Stat).
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • NFSPROC_LINK_2

        public int NFSPROC_LINK_2​(LinkArgs arg1)
                           throws org.acplt.oncrpc.OncRpcException,
                                  IOException
        Call remote procedure NFSPROC_LINK_2.
        Parameters:
        arg1 - parameter (of type LinkArgs) to the remote procedure call.
        Returns:
        Result from remote procedure call (of type Stat).
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • NFSPROC_SYMLINK_2

        public int NFSPROC_SYMLINK_2​(SymLinkArgs arg1)
                              throws org.acplt.oncrpc.OncRpcException,
                                     IOException
        Call remote procedure NFSPROC_SYMLINK_2.
        Parameters:
        arg1 - parameter (of type SymLinkArgs) to the remote procedure call.
        Returns:
        Result from remote procedure call (of type Stat).
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • NFSPROC_MKDIR_2

        public DirOpRes NFSPROC_MKDIR_2​(CreateArgs arg1)
                                 throws org.acplt.oncrpc.OncRpcException,
                                        IOException
        Call remote procedure NFSPROC_MKDIR_2.
        Parameters:
        arg1 - parameter (of type CreateArgs) to the remote procedure call.
        Returns:
        Result from remote procedure call (of type DirOpRes).
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • NFSPROC_RMDIR_2

        public int NFSPROC_RMDIR_2​(DirOpArgs arg1)
                            throws org.acplt.oncrpc.OncRpcException,
                                   IOException
        Call remote procedure NFSPROC_RMDIR_2.
        Parameters:
        arg1 - parameter (of type DirOpArgs) to the remote procedure call.
        Returns:
        Result from remote procedure call (of type Stat).
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • NFSPROC_READDIR_2

        public ReadDirRes NFSPROC_READDIR_2​(ReadDirArgs arg1)
                                     throws org.acplt.oncrpc.OncRpcException,
                                            IOException
        Call remote procedure NFSPROC_READDIR_2.
        Parameters:
        arg1 - parameter (of type ReadDirArgs) to the remote procedure call.
        Returns:
        Result from remote procedure call (of type ReadDirRes).
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • NFSPROC_STATFS_2

        public StatFSRes NFSPROC_STATFS_2​(FHandle arg1)
                                   throws org.acplt.oncrpc.OncRpcException,
                                          IOException
        Call remote procedure NFSPROC_STATFS_2.
        Parameters:
        arg1 - parameter (of type FHandle) to the remote procedure call.
        Returns:
        Result from remote procedure call (of type StatFSRes).
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.