com.maverick.sshd
Class ChannelEventAdapter

java.lang.Object
  extended by com.maverick.sshd.ChannelEventAdapter
All Implemented Interfaces:
ChannelEventListener

public class ChannelEventAdapter
extends java.lang.Object
implements ChannelEventListener

An adapter for the ChannelEventListener interface.

Author:
Lee David Painter

Constructor Summary
ChannelEventAdapter()
           
 
Method Summary
 void onChannelClose(Channel channel)
          The channel has been closed
 void onChannelClosing(Channel channel)
          The channel is closing, but has not sent its SSH_MSG_CHANNEL_CLOSE
 void onChannelEOF(Channel channel)
          The channel has received an EOF from the remote client
 void onChannelOpen(Channel channel)
          The channel has been opened.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChannelEventAdapter

public ChannelEventAdapter()
Method Detail

onChannelOpen

public void onChannelOpen(Channel channel)
Description copied from interface: ChannelEventListener
The channel has been opened.

Specified by:
onChannelOpen in interface ChannelEventListener

onChannelClose

public void onChannelClose(Channel channel)
Description copied from interface: ChannelEventListener
The channel has been closed

Specified by:
onChannelClose in interface ChannelEventListener

onChannelEOF

public void onChannelEOF(Channel channel)
Description copied from interface: ChannelEventListener
The channel has received an EOF from the remote client

Specified by:
onChannelEOF in interface ChannelEventListener

onChannelClosing

public void onChannelClosing(Channel channel)
Description copied from interface: ChannelEventListener
The channel is closing, but has not sent its SSH_MSG_CHANNEL_CLOSE

Specified by:
onChannelClosing in interface ChannelEventListener
Parameters:
channel - Channel


Copyright © 2003-2008 SSHTools LTD. All Rights Reserved.