javax.mail.event
Class ConnectionAdapter

java.lang.Object
  extended by javax.mail.event.ConnectionAdapter
All Implemented Interfaces:
EventListener, ConnectionListener

public abstract class ConnectionAdapter
extends Object
implements ConnectionListener

An adaptor that receives connection events. This is a default implementation where the handlers perform no action.

Version:
$Rev: 421852 $ $Date: 2006-07-14 03:02:19 -0700 (Fri, 14 Jul 2006) $

Constructor Summary
ConnectionAdapter()
           
 
Method Summary
 void closed(ConnectionEvent event)
          Called when a connection is closed.
 void disconnected(ConnectionEvent event)
          Called when a connection is disconnected.
 void opened(ConnectionEvent event)
          Called when a connection is opened.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionAdapter

public ConnectionAdapter()
Method Detail

closed

public void closed(ConnectionEvent event)
Description copied from interface: ConnectionListener
Called when a connection is closed.

Specified by:
closed in interface ConnectionListener

disconnected

public void disconnected(ConnectionEvent event)
Description copied from interface: ConnectionListener
Called when a connection is disconnected.

Specified by:
disconnected in interface ConnectionListener

opened

public void opened(ConnectionEvent event)
Description copied from interface: ConnectionListener
Called when a connection is opened.

Specified by:
opened in interface ConnectionListener


Copyright © 2006 Apache Software Foundation. All Rights Reserved.