@FunctionalInterface public interface TargetServerConnection
Modifier and Type | Method and Description |
---|---|
ByteChannel |
open(int timeout)
Open a connection to the target server with the specified timeout.
|
ByteChannel open(int timeout) throws IOException
timeout
- the read timeoutByteChannel
providing read/write access to the serverIOException
- in case of I/O errorsCopyright © 2021 Pivotal Software, Inc.. All rights reserved.