Interface TargetServerConnection
- All Known Implementing Classes:
SocketTargetServerConnection
public interface TargetServerConnection
Manages the connection to the ultimate tunnel target server.- Since:
- 1.3.0
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ByteChannelopen(int timeout)Open a connection to the target server with the specified timeout.
Method Detail
open
ByteChannel open(int timeout) throws IOException
Open a connection to the target server with the specified timeout.- Parameters:
timeout- the read timeout- Returns:
- a
ByteChannelproviding read/write access to the server - Throws:
IOException- in case of I/O errors