javax.mail.event

Class TransportAdapter

Implemented Interfaces:
EventListener, TransportListener

public abstract class TransportAdapter
extends java.lang.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.

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 Details

messageDelivered

public void messageDelivered(TransportEvent e)
Invoked when a Message is succesfully delivered.
Specified by:
messageDelivered in interface TransportListener


messageNotDelivered

public void messageNotDelivered(TransportEvent e)
Invoked when a Message is not delivered.
Specified by:
messageNotDelivered in interface TransportListener


messagePartiallyDelivered

public void messagePartiallyDelivered(TransportEvent e)
Invoked when a Message is partially delivered.
Specified by:
messagePartiallyDelivered in interface TransportListener