com.sshtools.j2ssh.connection
Class ChannelEventAdapter

java.lang.Object
  extended by com.sshtools.j2ssh.connection.ChannelEventAdapter
All Implemented Interfaces:
ChannelEventListener
Direct Known Subclasses:
DataNotificationListener

public abstract class ChannelEventAdapter
extends java.lang.Object
implements ChannelEventListener

Title:

Description:

Copyright: Copyright (c) 2003

Company:

Version:
$Id: ChannelEventAdapter.java,v 1.8 2003/09/11 15:35:06 martianx Exp $
Author:
Lee David Painter

Constructor Summary
ChannelEventAdapter()
          Creates a new ChannelEventAdapter object.
 
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

ChannelEventAdapter

public ChannelEventAdapter()
Creates a new ChannelEventAdapter object.

Method Detail

onChannelOpen

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

onChannelEOF

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

onChannelClose

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

onDataReceived

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

onDataSent

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


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