javax.mail.event
Interface ConnectionListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
ConnectionAdapter

public interface ConnectionListener
extends java.util.EventListener

Listener for handling connection events.

Version:
$Rev: 125583 $ $Date: 2005-01-18 20:44:27 -0700 (Tue, 18 Jan 2005) $

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.
 

Method Detail

opened

public void opened(ConnectionEvent event)
Called when a connection is opened.


disconnected

public void disconnected(ConnectionEvent event)
Called when a connection is disconnected.


closed

public void closed(ConnectionEvent event)
Called when a connection is closed.