Package javax.mail.event
Interface ConnectionListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
ConnectionAdapter
This is the Listener interface for Connection events.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked when a Store/Folder/Transport is closed.void
Invoked when a Store is disconnected.void
Invoked when a Store/Folder/Transport is opened.
-
Method Details
-
opened
Invoked when a Store/Folder/Transport is opened. -
disconnected
Invoked when a Store is disconnected. Note that a folder cannot be disconnected, so a folder will not fire this event -
closed
Invoked when a Store/Folder/Transport is closed.
-