public interface Channel extends Closeable, SSHPacketHandler, ErrorNotifiable
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Channel.Direct
Direct channels are those that are initiated by us.
|
static interface |
Channel.Forwarded
Forwarded channels are those that are initiated by the server.
|
ErrorNotifiable.Util| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this channel.
|
boolean |
getAutoExpand() |
int |
getID() |
InputStream |
getInputStream() |
int |
getLocalMaxPacketSize() |
long |
getLocalWinSize() |
OutputStream |
getOutputStream() |
int |
getRecipient() |
int |
getRemoteMaxPacketSize() |
long |
getRemoteWinSize() |
String |
getType() |
boolean |
isOpen() |
void |
join() |
void |
join(int timeout,
TimeUnit unit) |
void |
setAutoExpand(boolean autoExpand)
Set whether local window should automatically expand when data is received, irrespective of whether data has been
read from that stream.
|
handlenotifyErrorvoid close()
throws TransportException,
ConnectionException
close in interface AutoCloseableclose in interface CloseableTransportExceptionConnectionExceptionboolean getAutoExpand()
setAutoExpand(boolean)int getID()
InputStream getInputStream()
InputStream for this channel.int getLocalMaxPacketSize()
long getLocalWinSize()
OutputStream getOutputStream()
OutputStream for this channel.int getRecipient()
int getRemoteMaxPacketSize()
long getRemoteWinSize()
String getType()
boolean isOpen()
void setAutoExpand(boolean autoExpand)
InputStream.autoExpand - whether local windows should automatically expandvoid join() throws ConnectionException
ConnectionExceptionvoid join(int timeout,
TimeUnit unit)
throws ConnectionException
ConnectionExceptionCopyright © 2009–2014. All rights reserved.