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: 421852 $ $Date: 2006-07-14 03:02:19 -0700 (Fri, 14 Jul 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 © 2006 Apache Software Foundation. All Rights Reserved.