net.jackofalltrades.irc.event
Class ConnectionAdapter

java.lang.Object
  extended bynet.jackofalltrades.irc.event.ConnectionAdapter
All Implemented Interfaces:
ConnectionListener, java.util.EventListener

public class ConnectionAdapter
extends java.lang.Object
implements ConnectionListener

Provides an implementation of ConnectionListener by implementing connected(ConnectionEvent) and disconnected(ConnectionEvent) to do nothing.

Version:
$Revision: 1.2 $ $Date: 2003/06/30 12:26:18 $
Author:
Bradley M. Handy (bhandy@users.sf.net)

Constructor Summary
ConnectionAdapter()
          Creates a new instance of ConnectionAdapter
 
Method Summary
 void connected(ConnectionEvent event)
          Called when a connection has been established successfully.
 void disconnected(ConnectionEvent event)
          Called when a connection has been closely successfully either by force, or by user request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionAdapter

public ConnectionAdapter()
Creates a new instance of ConnectionAdapter

Method Detail

connected

public void connected(ConnectionEvent event)
Called when a connection has been established successfully.

Specified by:
connected in interface ConnectionListener

disconnected

public void disconnected(ConnectionEvent event)
Called when a connection has been closely successfully either by force, or by user request.

Specified by:
disconnected in interface ConnectionListener


Copyright © 2002-2003 Jack-of-all-trades Programming Services. All Rights Reserved.