TransportListener (Java EE 5)

Java EE API


javax.mail.event Interface TransportListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
TransportAdapter

public interface TransportListener
extends EventListener

Implements: java.util.EventListener
Implemented by: TransportAdapter

这是 Transport 事件的 Listener 接口。
英文文档:

This is the Listener interface for Transport events

Author:
John Mani, Max Spivak
See Also:
Transport, TransportEvent

Method Summary
 void
 void
 void
 

Method Detail

public void messageDelivered(TransportEvent e)
当 Message 被成功传送时调用。
e
TransportEvent
英文文档:

messageDelivered

void messageDelivered(TransportEvent e)
Invoked when a Message is succesfully delivered.

Parameters:
e - TransportEvent

public void messageNotDelivered(TransportEvent e)
当 Message 未被传送时调用。
e
TransportEvent
See also javax.mail.event.TransportEvent
英文文档:

messageNotDelivered

void messageNotDelivered(TransportEvent e)
Invoked when a Message is not delivered.

Parameters:
e - TransportEvent
See Also:
TransportEvent

public void messagePartiallyDelivered(TransportEvent e)
当 Message 被部分传送时调用。
e
TransportEvent
See also javax.mail.event.TransportEvent
英文文档:

messagePartiallyDelivered

void messagePartiallyDelivered(TransportEvent e)
Invoked when a Message is partially delivered.

Parameters:
e - TransportEvent
See Also:
TransportEvent


Submit a bug or feature

Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.

一看就知道只有菜鸟才干这么无知的事啦。

PS : 未经我党受权你也可自由散发此文档。 如有任何错误请自行修正;若因此而造成任何损失请直接找人民主席,请勿与本人联系。谢谢!