com.hs.mail.imap.event
Class MailboxEvent
java.lang.Object
com.hs.mail.imap.event.MailboxEvent
- All Implemented Interfaces:
- EventListener.Event
- Direct Known Subclasses:
- MailboxDeletedEvent
public abstract class MailboxEvent
- extends Object
- implements EventListener.Event
Common base class for mailbox events.
- Since:
- Aug 4, 2010
- Author:
- Won Chul Doh
Constructor Summary |
protected |
MailboxEvent(long sessionID,
long mailboxID)
|
Method Summary |
long |
getMailboxID()
Returns the ID of the mailbox where this event was triggered. |
long |
getSessionID()
Returns the ID of session who triggered this event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailboxEvent
protected MailboxEvent(long sessionID,
long mailboxID)
getSessionID
public long getSessionID()
- Description copied from interface:
EventListener.Event
- Returns the ID of session who triggered this event.
- Specified by:
getSessionID
in interface EventListener.Event
- Returns:
- ID of the session
getMailboxID
public long getMailboxID()
- Description copied from interface:
EventListener.Event
- Returns the ID of the mailbox where this event was triggered.
- Specified by:
getMailboxID
in interface EventListener.Event
- Returns:
- ID of the mailbox
Copyright © 2011. All Rights Reserved.