|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.mail.event Interface ConnectionListener
- All Superinterfaces:
- EventListener
- All Known Implementing Classes:
- ConnectionAdapter
public interface ConnectionListener
- extends EventListener
Implements:
java.util.EventListener
Implemented by:
ConnectionAdapter
Connection 事件的 Listener 接口。
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 |
---|
public void
opened(ConnectionEvent e)
当 Store/Folder/Transport 打开时调用。
英文文档:
opened
void opened(ConnectionEvent e)
- Invoked when a Store/Folder/Transport is opened.
public void
disconnected(ConnectionEvent e)
当 Store 断开时调用。注意,文件夹不能被断开,因此文件夹不会激发此事件
英文文档:
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
public void
closed(ConnectionEvent e)
当 Store/Folder/Transport 关闭时调用。
英文文档:
closed
void closed(ConnectionEvent e)
- Invoked when a Store/Folder/Transport is closed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Submit a bug or feature
Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!