public interface PortForwarding extends WritableByteChannel, Flushable
| Modifier and Type | Interface and Description |
|---|---|
static class |
PortForwarding.DataConsumer
This class is for consuming incoming data from the SSH port forwarding channel.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
flush() |
boolean |
isOpen() |
int |
write(ByteBuffer buf) |
int write(ByteBuffer buf) throws IOException
write in interface WritableByteChannelIOExceptionvoid flush()
throws IOException
flush in interface FlushableIOExceptionvoid close()
throws IOException
close in interface AutoCloseableclose in interface Channelclose in interface CloseableIOExceptionCopyright © 2018 Cask Data, Inc. Licensed under the Apache License, Version 2.0.