Interface TargetServerConnection
- All Known Implementing Classes:
SocketTargetServerConnection
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Manages the connection to the ultimate tunnel target server.
- Since:
- 1.3.0
- Author:
- Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptionopen
(int timeout) Open a connection to the target server with the specified timeout.
-
Method Details
-
open
Open a connection to the target server with the specified timeout.- Parameters:
timeout
- the read timeout- Returns:
- a
ByteChannel
providing read/write access to the server - Throws:
IOException
- in case of I/O errors
-