FileDocCategorySizeDatePackage
ConnectionListener.javaAPI DocGlassfish v2 API2629Mon May 14 15:28:48 BST 2007javax.mail.event

ConnectionListener

public interface ConnectionListener implements EventListener
This is the Listener interface for Connection events.
author
John Mani

Fields Summary
Constructors Summary
Methods Summary
public voidclosed(javax.mail.event.ConnectionEvent e)
Invoked when a Store/Folder/Transport is closed.

public voiddisconnected(javax.mail.event.ConnectionEvent e)
Invoked when a Store is disconnected. Note that a folder cannot be disconnected, so a folder will not fire this event

public voidopened(javax.mail.event.ConnectionEvent e)
Invoked when a Store/Folder/Transport is opened.