javax.mail.event
public class StoreEvent extends MailEvent
Version: 1.4
Field Summary | |
---|---|
static int | ALERT
Indicates that this message is an ALERT. |
protected String | message
The message text to be presented to the user. |
static int | NOTICE
Indicates that this message is a NOTICE. |
protected int | type
The event type. |
Constructor Summary | |
---|---|
StoreEvent(Store source, int type, String message)
Constructor. |
Method Summary | |
---|---|
void | dispatch(Object listener)
Invokes the appropriate listener method. |
String | getMessage()
Returns the notification message. |
int | getMessageType()
Returns the type of this event. |
Parameters: source the store type the type of event (ALERT or NOTICE) message the notification message