public class SocketConnectionFactory extends java.lang.Object implements ConnectionFactory
Modifier and Type | Method and Description |
---|---|
Connection |
createConnection(java.lang.String host,
int port) |
static SocketConnectionFactory |
getInstance() |
public static SocketConnectionFactory getInstance()
public Connection createConnection(java.lang.String host, int port) throws java.io.IOException
createConnection
in interface ConnectionFactory
java.io.IOException