⇒ Index (Frames) |  ⇒ Index (No Frames) |  ⇒ Package |  ⇒ Package Tree |  ⇒ Full Tree 
javax.mail.event

Class ConnectionAdapter

java.lang.Object
|
+--javax.mail.event.ConnectionAdapter

All Implemented Interfaces:
ConnectionListener


public abstract class ConnectionAdapter
extends java.lang.Object
implements ConnectionListener

The adapter which receives connection events. The methods in this class are empty; this class is provided as a convenience for easily creating listeners by extending this class and overriding only the methods of interest.
Author:

Method Summary

void

closed(ConnectionEvent e)

Invoked when a Store/Folder/Transport is closed.

void

disconnected(ConnectionEvent e)

Invoked when a Store is disconnected.

void

opened(ConnectionEvent e)

Invoked when a Store/Folder/Transport is opened.

Method Details

closed

public void closed(ConnectionEvent e)

Invoked when a Store/Folder/Transport is closed.

Parameters:
e

disconnected

public void disconnected(ConnectionEvent e)

Invoked when a Store is disconnected. Note that a folder cannot be disconnected, so a folder will not fire this event.

Parameters:
e

opened

public void opened(ConnectionEvent e)

Invoked when a Store/Folder/Transport is opened.

Parameters:
e