站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v5.0 API Specifications

ConnectionListener (Java EE 5 SDK) - Java Platform, Enterprise Edition v5.0 API Specifications

Java EE 5 SDK

javax.mail.event
Interface ConnectionListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
ConnectionAdapter

public interface ConnectionListener
extends EventListener

This is the Listener interface for Connection events.

Author:
John Mani

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 Detail

opened

void opened(ConnectionEvent e)
Invoked when a Store/Folder/Transport is opened.


disconnected

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

void closed(ConnectionEvent e)
Invoked when a Store/Folder/Transport is closed.


Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.