类 javax.mail.event.ConnectionEvent
的使用

使用 ConnectionEvent 的软件包
javax.mail.event Listeners and events for the JavaMail API. 
 

javax.mail.event 中 ConnectionEvent 的使用
 

参数类型为 ConnectionEvent 的 javax.mail.event 中的方法
 void ConnectionListener.closed(ConnectionEvent e)
          Invoked when a Store/Folder/Transport is closed.
 void ConnectionAdapter.closed(ConnectionEvent e)
           
 void ConnectionListener.disconnected(ConnectionEvent e)
          Invoked when a Store is disconnected.
 void ConnectionAdapter.disconnected(ConnectionEvent e)
           
 void ConnectionListener.opened(ConnectionEvent e)
          Invoked when a Store/Folder/Transport is opened.
 void ConnectionAdapter.opened(ConnectionEvent e)
           
 



Copyright © 2013. All Rights Reserved.