javax.mail.event

Class MailEvent

Known Direct Subclasses:
ConnectionEvent, FolderEvent, MessageChangedEvent, MessageCountEvent, StoreEvent, TransportEvent

public abstract class MailEvent
extends EventObject

Common base class for mail events, defining the dispatch method.

Constructor Summary

MailEvent(Object source)

Method Summary

void
dispatch(Object listener)
This method invokes the appropriate method on a listener for this event.

Constructor Details

MailEvent

public MailEvent(Object source)

Method Details

dispatch

public void dispatch(Object listener)
This method invokes the appropriate method on a listener for this event. Subclasses provide the implementation.