public class ServerSocketConnectionFactory extends Object implements ServerConnectionFactory
Constructor and Description |
---|
ServerSocketConnectionFactory() |
Modifier and Type | Method and Description |
---|---|
ServerConnection |
listen(int port) |
ServerConnection |
listen(int port,
int timeout) |
ServerConnection |
listen(int port,
int timeout,
int backlog) |
public ServerConnection listen(int port) throws IOException
listen
in interface ServerConnectionFactory
IOException
public ServerConnection listen(int port, int timeout) throws IOException
listen
in interface ServerConnectionFactory
IOException
public ServerConnection listen(int port, int timeout, int backlog) throws IOException
listen
in interface ServerConnectionFactory
IOException