com.sshtools.j2ssh.session
Class SessionOutputReader.SessionOutputListener

java.lang.Object
  extended by com.sshtools.j2ssh.session.SessionOutputReader.SessionOutputListener
All Implemented Interfaces:
ChannelEventListener
Enclosing class:
SessionOutputReader

 class SessionOutputReader.SessionOutputListener
extends java.lang.Object
implements ChannelEventListener

The ChannelEventListener to receive event notifications


Constructor Summary
SessionOutputReader.SessionOutputListener()
           
 
Method Summary
 void onChannelClose(Channel channel)
           
 void onChannelEOF(Channel channel)
           
 void onChannelOpen(Channel channel)
           
 void onDataReceived(Channel channel, byte[] data)
           
 void onDataSent(Channel channel, byte[] data)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionOutputReader.SessionOutputListener

SessionOutputReader.SessionOutputListener()
Method Detail

onChannelOpen

public void onChannelOpen(Channel channel)
Specified by:
onChannelOpen in interface ChannelEventListener

onChannelClose

public void onChannelClose(Channel channel)
Specified by:
onChannelClose in interface ChannelEventListener

onChannelEOF

public void onChannelEOF(Channel channel)
Specified by:
onChannelEOF in interface ChannelEventListener

onDataSent

public void onDataSent(Channel channel,
                       byte[] data)
Specified by:
onDataSent in interface ChannelEventListener

onDataReceived

public void onDataReceived(Channel channel,
                           byte[] data)
Specified by:
onDataReceived in interface ChannelEventListener