public interface TunnelConnection
WritableByteChannel open(WritableByteChannel incomingChannel, Closeable closeable) throws Exception
WritableByteChannelthat should be used to write any incoming data received from the remote server.
closeable- a closeable to call when the channel is closed
WritableByteChannelthat should be used to send any outgoing data destined for the remote server
Exception- in case of errors
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.