com.sshtools.common.ui
Class DataNotificationListener

java.lang.Object
  extended by com.sshtools.j2ssh.connection.ChannelEventAdapter
      extended by com.sshtools.common.ui.DataNotificationListener
All Implemented Interfaces:
ChannelEventListener

public class DataNotificationListener
extends ChannelEventAdapter


Nested Class Summary
(package private)  class DataNotificationListener.ReceivingActionListener
           
(package private)  class DataNotificationListener.SendingActionListener
           
 
Field Summary
(package private)  StatusBar bar
           
(package private)  javax.swing.Timer timerReceiving
           
(package private)  javax.swing.Timer timerSending
           
 
Constructor Summary
DataNotificationListener(StatusBar bar)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
           
 void onDataReceived(Channel channel, byte[] data)
           
 void onDataSent(Channel channel, byte[] data)
           
 
Methods inherited from class com.sshtools.j2ssh.connection.ChannelEventAdapter
onChannelClose, onChannelEOF, onChannelOpen
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timerReceiving

javax.swing.Timer timerReceiving

timerSending

javax.swing.Timer timerSending

bar

StatusBar bar
Constructor Detail

DataNotificationListener

public DataNotificationListener(StatusBar bar)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)

onDataReceived

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

onDataSent

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