public interface ITCPSocketFactory
ITCPSocket instance.| Modifier and Type | Method and Description |
|---|---|
ITCPSocket |
create(ServerAddress serverAddress,
int connectTimeout,
int readTimeout)
Create a new
ITCPSocket instance. |
ITCPSocket create(ServerAddress serverAddress, int connectTimeout, int readTimeout) throws java.io.IOException
ITCPSocket instance.serverAddress - The server address to connect toconnectTimeout - The connect timeoutreadTimeout - The read timeoutjava.io.IOException - If an I/O error occurs