ConnectionListener (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.mail.event Interface ConnectionListener

所有父接口:
EventListener
所有已知实现子孙类:
ConnectionAdapter

public interface ConnectionListener
extends EventListener

This is the Listener interface for Connection events.

作者:
John Mani

方法摘要
 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.
 

方法详细信息

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

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.