|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sshtools.j2ssh.connection.ChannelEventAdapter
com.sshtools.j2ssh.SshClient.ActiveChannelEventListener
class SshClient.ActiveChannelEventListener
Implements the ChannelEventListener interface to provide
real time tracking of active channels.
| Constructor Summary | |
|---|---|
SshClient.ActiveChannelEventListener()
|
|
| Method Summary | |
|---|---|
void |
onChannelClose(Channel channel)
Removes the closed channel from the clients active channels list. |
void |
onChannelOpen(Channel channel)
Adds the channel to the active channel list. |
| Methods inherited from class com.sshtools.j2ssh.connection.ChannelEventAdapter |
|---|
onChannelEOF, onDataReceived, onDataSent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
SshClient.ActiveChannelEventListener()
| Method Detail |
|---|
public void onChannelOpen(Channel channel)
Adds the channel to the active channel list.
onChannelOpen in interface ChannelEventListeneronChannelOpen in class ChannelEventAdapterchannel - The channel being openedpublic void onChannelClose(Channel channel)
Removes the closed channel from the clients active channels list.
onChannelClose in interface ChannelEventListeneronChannelClose in class ChannelEventAdapterchannel - The channle being closed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||