|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An event interface that provides notifications of SshChannel events.
Method Summary | |
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. |
Method Detail |
public void channelOpened(SshChannel channel)
channel
- the opened channel.public void channelClosing(SshChannel channel)
channel
- the channel closing.public void channelClosed(SshChannel channel)
channel
- the closed channel.public void channelEOF(SshChannel channel)
channel
- SshChannelpublic void dataReceived(SshChannel channel, byte[] data, int off, int len)
channel
- SshChanneldata
- byte[]off
- intlen
- intpublic void dataSent(SshChannel channel, byte[] data, int off, int len)
channel
- SshChanneldata
- byte[]off
- intlen
- intpublic void extendedDataReceived(SshChannel channel, byte[] data, int off, int len, int extendedDataType)
channel
- data
- off
- len
- extendedDataType
- the extended data type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |