|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
javax.mail.event Class TransportAdapter
java.lang.Object javax.mail.event.TransportAdapter
- All Implemented Interfaces:
- EventListener, TransportListener
public abstract class TransportAdapter
- extends Object
- implements TransportListener
Implements:
TransportListener
接收 Transport 事件的适配器。此类中的方法为空;提供此类是为了方便,通过扩展此类和重写感兴趣的方法,可以轻松创建侦听器。
The adapter which receives Transport 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.
- Author:
- John Mani
Constructor Summary | |
---|---|
TransportAdapter()
|
Method Summary | |
---|---|
void |
messageDelivered(TransportEvent e)
Invoked when a Message is succesfully delivered. |
void |
messageNotDelivered(TransportEvent e)
Invoked when a Message is not delivered. |
void |
messagePartiallyDelivered(TransportEvent e)
Invoked when a Message is partially delivered. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public
TransportAdapter()
英文文档:
TransportAdapter
public TransportAdapter()
Method Detail |
---|
public void
messageDelivered(TransportEvent e)
英文文档:
messageDelivered
public void messageDelivered(TransportEvent e)
- Description copied from interface:
TransportListener
- Invoked when a Message is succesfully delivered.
- Specified by:
messageDelivered
in interfaceTransportListener
- Parameters:
e
- TransportEvent
public void
messageNotDelivered(TransportEvent e)
英文文档:
messageNotDelivered
public void messageNotDelivered(TransportEvent e)
- Description copied from interface:
TransportListener
- Invoked when a Message is not delivered.
- Specified by:
messageNotDelivered
in interfaceTransportListener
- Parameters:
e
- TransportEvent- See Also:
TransportEvent
public void
messagePartiallyDelivered(TransportEvent e)
英文文档:
messagePartiallyDelivered
public void messagePartiallyDelivered(TransportEvent e)
- Description copied from interface:
TransportListener
- Invoked when a Message is partially delivered.
- Specified by:
messagePartiallyDelivered
in interfaceTransportListener
- Parameters:
e
- TransportEvent- See Also:
TransportEvent
|
|||||||||
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 : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!