javax.mail.event
类 ConnectionAdapter

java.lang.Object
  继承者 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)
从接口 ConnectionListener 复制的描述
Invoked when a Store/Folder/Transport is opened.

指定者:
接口 ConnectionListener 中的 opened

disconnected

public void disconnected(ConnectionEvent e)
从接口 ConnectionListener 复制的描述
Invoked when a Store is disconnected. Note that a folder cannot be disconnected, so a folder will not fire this event

指定者:
接口 ConnectionListener 中的 disconnected

closed

public void closed(ConnectionEvent e)
从接口 ConnectionListener 复制的描述
Invoked when a Store/Folder/Transport is closed.

指定者:
接口 ConnectionListener 中的 closed


Copyright © 2013. All Rights Reserved.