public interface ChannelEventListener
| Modifier and Type | Method and Description |
|---|---|
void |
channelClosed(SshChannel channel)
A channel is closed.
|
void |
channelClosing(SshChannel channel)
A channel is closing.
|
void |
channelEOF(SshChannel channel)
A channel's input is EOF.
|
void |
channelOpened(SshChannel channel)
A channel has been opened.
|
void |
dataReceived(SshChannel channel,
byte[] data,
int off,
int len)
A block of data has been received by the channel.
|
void |
dataSent(SshChannel channel,
byte[] data,
int off,
int len)
A block of data has been sent by the channel.
|
void |
extendedDataReceived(SshChannel channel,
byte[] data,
int off,
int len,
int extendedDataType)
A block of extended data has been received by the channel.
|
void channelOpened(SshChannel channel)
channel - the opened channel.void channelClosing(SshChannel channel)
channel - the channel closing.void channelClosed(SshChannel channel)
channel - the closed channel.void channelEOF(SshChannel channel)
channel - SshChannelvoid dataReceived(SshChannel channel, byte[] data, int off, int len)
channel - SshChanneldata - byte[]off - intlen - intvoid dataSent(SshChannel channel, byte[] data, int off, int len)
channel - SshChanneldata - byte[]off - intlen - intvoid extendedDataReceived(SshChannel channel, byte[] data, int off, int len, int extendedDataType)
channel - data - off - len - extendedDataType - the extended data typeCopyright © 2025. All rights reserved.