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

TransportListener (Java 2 Platform Ent. Ed. v1.4) - Java Platform, Enterprise Edition v1.4 API Specifications

JavaTM 2 Platform
Ent. Ed. v1.4

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

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

Parameters:
e - TransportEvent

messageNotDelivered

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

Parameters:
e - TransportEvent
See Also:
TransportEvent

messagePartiallyDelivered

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

Parameters:
e - TransportEvent
See Also:
TransportEvent

JavaTM 2 Platform
Ent. Ed. v1.4

Submit a bug or feature

Copyright 2003 Sun Microsystems, Inc. All rights reserved.