com.sshtools.j2ssh
Class SshClient.ActiveChannelEventListener

java.lang.Object
com.sshtools.j2ssh.connection.ChannelEventAdapter
com.sshtools.j2ssh.SshClient.ActiveChannelEventListener
- All Implemented Interfaces:
- com.sshtools.j2ssh.connection.ChannelEventListener
- Enclosing class:
- SshClient
- class SshClient.ActiveChannelEventListener
- extends com.sshtools.j2ssh.connection.ChannelEventAdapter
Implements the ChannelEventListener interface to provide
real time tracking of active channels.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SshClient.ActiveChannelEventListener
SshClient.ActiveChannelEventListener()
onChannelOpen
public void onChannelOpen(com.sshtools.j2ssh.connection.Channel channel)
Adds the channel to the active channel list.
onChannelClose
public void onChannelClose(com.sshtools.j2ssh.connection.Channel channel)
Removes the closed channel from the clients active channels list.