com.hs.mail.imap.event
Class MailboxEvent

java.lang.Object
  extended by 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

Field Summary
 
Fields inherited from interface com.hs.mail.imap.event.EventListener.Event
ANONYMOUS_SESSION_ID
 
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
 

Constructor Detail

MailboxEvent

protected MailboxEvent(long sessionID,
                       long mailboxID)
Method Detail

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.