|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.EventObject SK.gnome.dwarf.mail.store.event.MailEvent
Generic mail event.
Mail events are generated by mail folders to inform the rest of the application about the particular folder or message modifications. It can be used to implement a simultaneous access to mail folders as well as protocols that require an unsolicited response model, such as IMAP.
Field Summary | |
protected int |
type
The mail event type. |
protected java.lang.String |
user
The user who produced this event. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
MailEvent(MailFolder source,
java.lang.String user,
int type)
Creates a new MailEvent. |
Method Summary | |
MailFolder |
getSourceFolder()
Returns the source folder. |
int |
getType()
Returns the event type. |
java.lang.String |
getUser()
Returns the user producing the event. |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected final int type
protected final java.lang.String user
Constructor Detail |
public MailEvent(MailFolder source, java.lang.String user, int type)
Mail events are always associated with a source folder and user who produced them. In other words, the folders generate mail events according to operations performed on them by the particular users.
source
- the source folderuser
- the user producing this eventtype
- the event typeMethod Detail |
public MailFolder getSourceFolder()
public java.lang.String getUser()
public int getType()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |