| net.schmizz.sshj.connection.channel.Channel |
Known Indirect Subclasses
|
A channel is the basic medium for application-layer data on top of an SSH transport.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Channel.Direct | Direct channels are those that are initiated by us. | ||||||||||
| Channel.Forwarded | Forwarded channels are those that are initiated by the server. | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Close this channel.
| |||||||||||
Sends an EOF message to the server for this channel; indicating that no more data will be sent by us.
| |||||||||||
Set whether local window should automatically expand when data is received, irrespective of whether data has been
read from that stream.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
java.io.Closeable
| |||||||||||
From interface
net.schmizz.sshj.common.ErrorNotifiable
| |||||||||||
From interface
net.schmizz.sshj.common.SSHPacketHandler
| |||||||||||
InputStream for this channel. OutputStream for this channel. Sends an EOF message to the server for this channel; indicating that no more data will be sent by us. The OutputStream for this channel will be closed and no longer usable.
| TransportException | if there is an error sending the EOF message |
|---|
Set whether local window should automatically expand when data is received, irrespective of whether data has been
read from that stream. This is useful e.g. when a remote command produces a lot of output that would fill the
local window but you are not interested in reading from its InputStream.
| autoExpand | Whether local windows should automatically expand |
|---|