Package jakarta.mail.event
Class ConnectionAdapter
java.lang.Object
jakarta.mail.event.ConnectionAdapter
- All Implemented Interfaces:
 ConnectionListener,EventListener
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:
 - John Mani
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidInvoked when a Store/Folder/Transport is closed.voidInvoked when a Store is disconnected.voidInvoked when a Store/Folder/Transport is opened. 
- 
Constructor Details
- 
ConnectionAdapter
public ConnectionAdapter()Creates a defaultConnectionAdapter. 
 - 
 - 
Method Details
- 
opened
Description copied from interface:ConnectionListenerInvoked when a Store/Folder/Transport is opened.- Specified by:
 openedin interfaceConnectionListener- Parameters:
 e- the ConnectionEvent
 - 
disconnected
Description copied from interface:ConnectionListenerInvoked when a Store is disconnected. Note that a folder cannot be disconnected, so a folder will not fire this event- Specified by:
 disconnectedin interfaceConnectionListener- Parameters:
 e- the ConnectionEvent
 - 
closed
Description copied from interface:ConnectionListenerInvoked when a Store/Folder/Transport is closed.- Specified by:
 closedin interfaceConnectionListener- Parameters:
 e- the ConnectionEvent
 
 -