站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Java Platform, Enterprise Edition v5.0 API Specifications

TransportListener (Java EE 5 SDK) - Java Platform, Enterprise Edition v5.0 API Specifications

Java EE 5 SDK

javax.mail.event
Interface TransportListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
TransportAdapter

public interface TransportListener
extends EventListener

This is the Listener interface for Transport events

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

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.
 

Method Detail

messageDelivered

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

Parameters:
e - TransportEvent

messageNotDelivered

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

Parameters:
e - TransportEvent
See Also:
TransportEvent

messagePartiallyDelivered

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

Parameters:
e - TransportEvent
See Also:
TransportEvent

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.