Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sshtools.j2ssh
Class SshClient.ActiveChannelEventListener  view SshClient.ActiveChannelEventListener download SshClient.ActiveChannelEventListener.java

java.lang.Object
  extended bycom.sshtools.j2ssh.connection.ChannelEventAdapter
      extended bycom.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.


Constructor Summary
(package private) SshClient.ActiveChannelEventListener()
           
 
Method Summary
 void onChannelClose(com.sshtools.j2ssh.connection.Channel channel)
           Removes the closed channel from the clients active channels list.
 void onChannelOpen(com.sshtools.j2ssh.connection.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

SshClient.ActiveChannelEventListener()
Method Detail

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.