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: 467553 $ $Date: 2006-10-25 00:01:51 -0400 (Wed, 25 Oct 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 © 2003-2008 The Apache Software Foundation. All Rights Reserved.