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 Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description IConnection
create(java.lang.String host, int port)
Deprecated.Creates connection using the host and port
-
-
-
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 toport
- The port to connect to- Returns:
- The created connection
- Throws:
java.io.IOException
- On an IO Errorjava.net.UnknownHostException
- If the host can't be resolved
-
-