| java.lang.Object | |
| ↳ | net.schmizz.sshj.connection.channel.AbstractChannel |
Known Direct Subclasses
|
Known Indirect Subclasses
|
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | REMOTE_MAX_PACKET_SIZE_CEILING | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| autoExpand | |||||||||||
| chanReqResponseEvents | |||||||||||
| closeEvent | Channel close event | ||||||||||
| closeRequested | |||||||||||
| conn | Connection layer | ||||||||||
| eofGot | |||||||||||
| eofSent | |||||||||||
| id | Channel ID | ||||||||||
| in | stdout stream | ||||||||||
| log | Logger | ||||||||||
| lwin | Local window | ||||||||||
| openCloseLock | |||||||||||
| openEvent | Channel open event | ||||||||||
| out | stdin stream | ||||||||||
| recipient | Remote recipient ID | ||||||||||
| rwin | Remote window | ||||||||||
| trans | Transport layer | ||||||||||
| type | Channel type | ||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Close this channel.
| |||||||||||
Delegate handling of some SSH packet to this object.
| |||||||||||
Notifies this object of an
error. | |||||||||||
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.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Called when all I/O streams should be closed.
| |||||||||||
Called when EOF has been received.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.io.Closeable
| |||||||||||
From interface
net.schmizz.sshj.common.ErrorNotifiable
| |||||||||||
From interface
net.schmizz.sshj.common.SSHPacketHandler
| |||||||||||
From interface
net.schmizz.sshj.connection.channel.Channel
| |||||||||||
Channel ID
Logger
Remote recipient ID
Channel type
Delegate handling of some SSH packet to this object.
| msg | The SSH message identifier |
|---|---|
| buf | SSHPacket containing rest of the request |
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 |
|---|
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 |
|---|
Called when all I/O streams should be closed. Subclasses can override but must call super.
Called when EOF has been received. Subclasses can override but must call super.
| recipient | |
|---|---|
| remoteWinSize | |
| remoteMaxPacketSize |