org.apache.james.mailboxmanager.impl
Class MailboxEventDispatcher

java.lang.Object
  extended by org.apache.james.mailboxmanager.impl.MailboxEventDispatcher
All Implemented Interfaces:
MailboxListener

public class MailboxEventDispatcher
extends java.lang.Object
implements MailboxListener


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.james.mailboxmanager.MailboxListener
MailboxListener.Added, MailboxListener.Event, MailboxListener.Expunged, MailboxListener.FlagsUpdated, MailboxListener.MailboxDeletionEvent, MailboxListener.MessageEvent
 
Constructor Summary
MailboxEventDispatcher()
           
 
Method Summary
 void added(long uid, long sessionId)
           
 void addMailboxListener(MailboxListener mailboxListener)
           
 void event(MailboxListener.Event event)
           
 void expunged(long uid, long sessionId)
           
 void flagsUpdated(long uid, long sessionId, javax.mail.Flags original, javax.mail.Flags updated)
           
 void mailboxDeleted(long sessionId)
           
 void removeMailboxListener(MailboxListener mailboxListener)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailboxEventDispatcher

public MailboxEventDispatcher()
Method Detail

addMailboxListener

public void addMailboxListener(MailboxListener mailboxListener)

removeMailboxListener

public void removeMailboxListener(MailboxListener mailboxListener)

added

public void added(long uid,
                  long sessionId)

expunged

public void expunged(long uid,
                     long sessionId)

flagsUpdated

public void flagsUpdated(long uid,
                         long sessionId,
                         javax.mail.Flags original,
                         javax.mail.Flags updated)

event

public void event(MailboxListener.Event event)
Specified by:
event in interface MailboxListener

size

public int size()

mailboxDeleted

public void mailboxDeleted(long sessionId)


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