接口 TargetServerConnection
- 所有已知实现类:
SocketTargetServerConnection
public interface TargetServerConnection
Manages the connection to the ultimate tunnel target server.- 从以下版本开始:
- 1.3.0
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 ByteChannel
open(int timeout)
Open a connection to the target server with the specified timeout.
方法详细资料
open
ByteChannel open(int timeout) throws IOException
Open a connection to the target server with the specified timeout.- 参数:
timeout
- the read timeout- 返回:
- a
ByteChannel
providing read/write access to the server - 抛出:
IOException
- in case of I/O errors