@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 © 2018 Pivotal Software, Inc.. All rights reserved.