@FunctionalInterface
public interface TargetServerConnection
| Modifier and Type | Method and Description |
|---|---|
java.nio.channels.ByteChannel |
open(int timeout)
Open a connection to the target server with the specified timeout.
|
java.nio.channels.ByteChannel open(int timeout)
throws java.io.IOException
timeout - the read timeoutByteChannel providing read/write access to the serverjava.io.IOException - in case of I/O errors