com.sshtools.common.ui

Class DataNotificationListener

Implemented Interfaces:
ChannelEventListener

public class DataNotificationListener
extends ChannelEventAdapter

Constructor Summary

DataNotificationListener(StatusBar bar)

Method Summary

void
actionPerformed(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, onDataReceived, onDataSent

Constructor Details

DataNotificationListener

public DataNotificationListener(StatusBar bar)

Method Details

actionPerformed

public void actionPerformed(ActionEvent evt)

onDataReceived

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

onDataSent

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

Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.