javax.mail.event
public class StoreEvent extends MailEvent
Field Summary | |
---|---|
static int | ALERT
Indicates that this message is an alert. |
protected String | message
The text to be presented to the user. |
static int | NOTICE
Indicates that this message is a notice. |
protected int | type
The message type. |
Constructor Summary | |
---|---|
StoreEvent(Store store, int type, String message)
Construct a new event.
|
Method Summary | |
---|---|
void | dispatch(Object listener) |
String | getMessage()
Return the text to be displayed to the user.
|
int | getMessageType()
Return the message type.
|
Parameters: store the Store that initiated the notification type the message type message the text to be presented to the user
Returns: the text to be displayed to the user
Returns: the message type