javax.mail.event
Interface ConnectionListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
ConnectionAdapter

public interface ConnectionListener
extends EventListener

Listener for handling connection events.

Version:
$Rev: 467553 $ $Date: 2006-10-25 00:01:51 -0400 (Wed, 25 Oct 2006) $

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

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


disconnected

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


closed

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



Copyright © 2003-2009 The Apache Software Foundation. All Rights Reserved.