public interface TCPProxySocketFactory
Modifier and Type | Method and Description |
---|---|
Socket |
createClientSocket(EndPoint remoteEndPoint)
Factory method for client sockets.
|
ServerSocket |
createServerSocket(EndPoint localEndPoint,
int timeout)
Factory method for server sockets.
|
ServerSocket createServerSocket(EndPoint localEndPoint, int timeout) throws IOException
localEndPoint
- Local host and port.timeout
- Socket timeout.ServerSocket
.IOException
- If an error occurs.Socket createClientSocket(EndPoint remoteEndPoint) throws IOException
remoteEndPoint
- Remote host and port.Socket
.IOException
- If an error occurs.Copyright © 2000-2014. All Rights Reserved.