Class mountClient


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

      • Fields inherited from class org.acplt.oncrpc.OncRpcClientStub

        client
    • Constructor Summary

      Constructors 
      Constructor Description
      mountClient()
      Constructs a mountClient client stub proxy dummy.
      mountClient​(InetAddress host, int protocol)
      Constructs a mountClient client stub proxy object from which the MOUNTPROG remote program can be accessed.
      mountClient​(InetAddress host, int port, int protocol)
      Constructs a mountClient client stub proxy object from which the MOUNTPROG remote program can be accessed.
      mountClient​(InetAddress host, int program, int version, int protocol)
      Constructs a mountClient client stub proxy object from which the MOUNTPROG remote program can be accessed.
      mountClient​(InetAddress host, int program, int version, int port, int protocol)
      Constructs a mountClient client stub proxy object from which the MOUNTPROG remote program can be accessed.
      mountClient​(org.acplt.oncrpc.OncRpcClient client)
      Constructs a mountClient client stub proxy object from which the MOUNTPROG remote program can be accessed.
    • Constructor Detail

      • mountClient

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

        public mountClient​(InetAddress host,
                           int protocol)
                    throws org.acplt.oncrpc.OncRpcException,
                           IOException
        Constructs a mountClient client stub proxy object from which the MOUNTPROG 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.
      • mountClient

        public mountClient​(InetAddress host,
                           int port,
                           int protocol)
                    throws org.acplt.oncrpc.OncRpcException,
                           IOException
        Constructs a mountClient client stub proxy object from which the MOUNTPROG 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.
      • mountClient

        public mountClient​(org.acplt.oncrpc.OncRpcClient client)
                    throws org.acplt.oncrpc.OncRpcException,
                           IOException
        Constructs a mountClient client stub proxy object from which the MOUNTPROG 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.
      • mountClient

        public mountClient​(InetAddress host,
                           int program,
                           int version,
                           int protocol)
                    throws org.acplt.oncrpc.OncRpcException,
                           IOException
        Constructs a mountClient client stub proxy object from which the MOUNTPROG 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.
      • mountClient

        public mountClient​(InetAddress host,
                           int program,
                           int version,
                           int port,
                           int protocol)
                    throws org.acplt.oncrpc.OncRpcException,
                           IOException
        Constructs a mountClient client stub proxy object from which the MOUNTPROG 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

      • MOUNTPROC_NULL_1

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

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

        public MountListRes MOUNTPROC_DUMP_1()
                                      throws org.acplt.oncrpc.OncRpcException,
                                             IOException
        Call remote procedure MOUNTPROC_DUMP_1.
        Returns:
        Result from remote procedure call (of type MountListRes).
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • MOUNTPROC_UMNT_1

        public void MOUNTPROC_UMNT_1​(DirPath arg1)
                              throws org.acplt.oncrpc.OncRpcException,
                                     IOException
        Call remote procedure MOUNTPROC_UMNT_1.
        Parameters:
        arg1 - parameter (of type DirPath) to the remote procedure call.
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.
      • MOUNTPROC_UMNTALL_1

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

        public ExportListRes MOUNTPROC_EXPORT_1()
                                         throws org.acplt.oncrpc.OncRpcException,
                                                IOException
        Call remote procedure MOUNTPROC_EXPORT_1.
        Returns:
        Result from remote procedure call (of type ExportListRes).
        Throws:
        org.acplt.oncrpc.OncRpcException - if an ONC/RPC error occurs.
        IOException - if an I/O error occurs.