Interface IConnectionFactory
public interface IConnectionFactory
Interface for all connection factory. Primarily act as
the abstraction layer for different kind of connection factory.
- Version:
- $Revision$, $Date$
-
Method Summary
Modifier and TypeMethodDescriptionCreates connection using the host and port
-
Method Details
-
create
Creates connection using the host and port- Parameters:
host
- The host to connect toport
- The port to connect to- Returns:
- The created connection
- Throws:
IOException
- On an IO ErrorUnknownHostException
- If the host can't be resolved
-