ConnectionAdapter (Java EE 5 SDK)

Java

Java EE 5 SDK

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


javax.mail.event Class ConnectionAdapter

java.lang.Object
  extended by javax.mail.event.ConnectionAdapter
所有已实现的接口:
EventListener, ConnectionListener

public abstract class ConnectionAdapter
extends 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.

作者:
John Mani

构造器摘要
ConnectionAdapter()
           
 
方法摘要
 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.
 
类方法继承 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.

规范说明:
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

规范说明:
disconnected in interface ConnectionListener

closed

public void closed(ConnectionEvent e)
Description copied from interface: ConnectionListener
Invoked when a Store/Folder/Transport is closed.

规范说明:
closed in interface ConnectionListener

Java EE 5 SDK

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


提交错误或意见

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