Top Description Fields Constructors Methods
javax.mail.event

public abstract Class MailEvent

extends EventObject
Class Inheritance
Known Direct Subclasses
javax.mail.event.MessageChangedEvent, javax.mail.EventQueue.TerminatorEvent, javax.mail.event.StoreEvent, javax.mail.event.ConnectionEvent, javax.mail.event.MessageCountEvent, javax.mail.event.FolderEvent, javax.mail.event.TransportEvent
Imports
java.util.EventObject

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

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from java.util.EventObject:
source

Constructor Summary

AccessConstructor and Description
public
MailEvent(Object
the source of the event
source
)

Construct a MailEvent referring to the given source.

Method Summary

Modifier and TypeMethod and Description
public abstract void
dispatch(Object
the listener to invoke on
listener
)

This method invokes the appropriate method on a listener for this event.

Inherited from java.util.EventObject:
getSourcetoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.util.EventObject.serialVersionUID.

Constructor Detail

MailEventback to summary
public MailEvent(Object source)

Construct a MailEvent referring to the given source.

Parameters
source:Object

the source of the event

Method Detail

dispatchback to summary
public abstract void dispatch(Object listener)

This method invokes the appropriate method on a listener for this event. Subclasses provide the implementation.

Parameters
listener:Object

the listener to invoke on