org.apache.james.mailbox
Class MailboxListener.Event

java.lang.Object
  extended by org.apache.james.mailbox.MailboxListener.Event
Direct Known Subclasses:
MailboxListener.MailboxDeletionEvent, MailboxListener.MailboxRenamed, MailboxListener.MessageEvent
Enclosing interface:
MailboxListener

public static class MailboxListener.Event
extends java.lang.Object

A mailbox event.


Constructor Summary
MailboxListener.Event(long sessionId, MailboxPath path)
           
 
Method Summary
 MailboxPath getMailboxPath()
          Return the path of the Mailbox this event belongs to.
 long getSessionId()
          Gets the id of the session which the event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailboxListener.Event

public MailboxListener.Event(long sessionId,
                             MailboxPath path)
Method Detail

getSessionId

public long getSessionId()
Gets the id of the session which the event.

Returns:
session id

getMailboxPath

public MailboxPath getMailboxPath()
Return the path of the Mailbox this event belongs to.

Returns:
path


Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.