Package com.sshtools.common.ui
Class DataNotificationListener
- java.lang.Object
-
- com.sshtools.j2ssh.connection.ChannelEventAdapter
-
- com.sshtools.common.ui.DataNotificationListener
-
- All Implemented Interfaces:
ChannelEventListener
public class DataNotificationListener extends ChannelEventAdapter
-
-
Constructor Summary
Constructors Constructor Description DataNotificationListener(StatusBar bar)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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 interfaceChannelEventListener
- Overrides:
onDataReceived
in classChannelEventAdapter
-
onDataSent
public void onDataSent(Channel channel, byte[] data)
- Specified by:
onDataSent
in interfaceChannelEventListener
- Overrides:
onDataSent
in classChannelEventAdapter
-
-