Interface IConnectionFactory


  • @Deprecated
    public interface IConnectionFactory
    Deprecated.
    The PKI console will be removed once there are CLI equivalents of desired console features.
    Interface for all connection factory. Primarily act as the abstraction layer for different kind of connection factory.
    Version:
    $Revision$, $Date$
    • Method Detail

      • create

        IConnection create​(java.lang.String host,
                           int port)
                    throws java.io.IOException,
                           java.net.UnknownHostException
        Deprecated.
        Creates connection using the host and port
        Parameters:
        host - The host to connect to
        port - The port to connect to
        Returns:
        The created connection
        Throws:
        java.io.IOException - On an IO Error
        java.net.UnknownHostException - If the host can't be resolved