TransportAdapter (Java EE 5 SDK)

Java

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


javax.mail.event Class TransportAdapter

java.lang.Object
  extended by javax.mail.event.TransportAdapter
所有已实现的接口:
EventListener, TransportListener

public abstract class TransportAdapter
extends Object
implements TransportListener

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.

作者:
John Mani

构造器摘要
TransportAdapter()
           
 
方法摘要
 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.
 
类方法继承 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造器详细信息

TransportAdapter

public TransportAdapter()
方法详细信息

messageDelivered

public void messageDelivered(TransportEvent e)
Description copied from interface: TransportListener
Invoked when a Message is succesfully delivered.

规范说明:
messageDelivered in interface TransportListener
参数:
e - TransportEvent

messageNotDelivered

public void messageNotDelivered(TransportEvent e)
Description copied from interface: TransportListener
Invoked when a Message is not delivered.

规范说明:
messageNotDelivered in interface TransportListener
参数:
e - TransportEvent
另请参见:
TransportEvent

messagePartiallyDelivered

public void messagePartiallyDelivered(TransportEvent e)
Description copied from interface: TransportListener
Invoked when a Message is partially delivered.

规范说明:
messagePartiallyDelivered in interface TransportListener
参数:
e - TransportEvent
另请参见:
TransportEvent

Java EE 5 SDK

深圳电信培训中心.徐海蛟老师.


提交错误或意见

版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。深圳电信培训中心.徐海蛟老师教学参考.