public class SocketChannelSocketFactory extends java.lang.Object implements ITCPSocketFactory
| Constructor and Description |
|---|
SocketChannelSocketFactory() |
| Modifier and Type | Method and Description |
|---|---|
ITCPSocket |
create(ServerAddress serverAddress,
int connectTimeout,
int readTimeout)
Create a new
ITCPSocket instance. |
public ITCPSocket create(ServerAddress serverAddress, int connectTimeout, int readTimeout)
ITCPSocketFactoryITCPSocket instance.create in interface ITCPSocketFactoryserverAddress - The server address to connect toconnectTimeout - The connect timeoutreadTimeout - The read timeout