当前页面:
在线文档首页 >
Java Platform, Enterprise Edition v1.3.1 API Specifications
Java 2 Platform EE v1.3: Class ConnectionAdapter - Java Platform, Enterprise Edition v1.3.1 API Specifications
javax.mail.event
Class ConnectionAdapter
java.lang.Object
|
+--javax.mail.event.ConnectionAdapter
- All Implemented Interfaces:
- ConnectionListener, java.util.EventListener
- 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionAdapter
public ConnectionAdapter()
opened
public void opened(ConnectionEvent e)
- Description copied from interface:
ConnectionListener
- Invoked when a Store/Folder/Transport is opened.
- Specified by:
opened
in interface ConnectionListener
disconnected
public void disconnected(ConnectionEvent e)
- Description copied from interface:
ConnectionListener
- Invoked when a Store is disconnected. Note that a folder
cannot be disconnected, so a folder will not fire this event
- Specified by:
disconnected
in interface ConnectionListener
closed
public void closed(ConnectionEvent e)
- Description copied from interface:
ConnectionListener
- Invoked when a Store/Folder/Transport is closed.
- Specified by:
closed
in interface ConnectionListener