当前页面:
在线文档首页 >
Java Platform, Enterprise Edition v1.3.1 API Specifications
Java 2 Platform EE v1.3: Interface ConnectionListener - Java Platform, Enterprise Edition v1.3.1 API Specifications
javax.mail.event
Interface ConnectionListener
- All Superinterfaces:
- java.util.EventListener
- All Known Implementing Classes:
- ConnectionAdapter
- public interface ConnectionListener
- extends java.util.EventListener
This is the Listener interface for Connection events.
opened
public void opened(ConnectionEvent e)
- Invoked when a Store/Folder/Transport is opened.
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
closed
public void closed(ConnectionEvent e)
- Invoked when a Store/Folder/Transport is closed.