com.hs.mail.imap.processor
Class AbstractListProcessor

java.lang.Object
  extended by com.hs.mail.imap.processor.AbstractImapProcessor
      extended by com.hs.mail.imap.processor.AbstractListProcessor
All Implemented Interfaces:
ImapProcessor
Direct Known Subclasses:
ListProcessor, LsubProcessor

public abstract class AbstractListProcessor
extends AbstractImapProcessor

Since:
Apr 16, 2010
Author:
Won Chul Doh

Constructor Summary
AbstractListProcessor()
           
 
Method Summary
protected  Responder createResponder(org.jboss.netty.channel.Channel channel, ImapRequest request)
           
protected  void doList(ImapSession session, ListResponder responder, String referenceName, String mailboxName)
           
protected  void doProcess(ImapSession session, ImapRequest message, Responder responder)
           
protected abstract  Mailbox getMailbox(long ownerID, String mailboxName)
           
protected abstract  List<Mailbox> listMailbox(long userID, long ownerID, String mailboxName, MailboxQuery query)
           
 
Methods inherited from class com.hs.mail.imap.processor.AbstractImapProcessor
getMailboxManager, getUserManager, process, unsolicitedResponse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractListProcessor

public AbstractListProcessor()
Method Detail

doProcess

protected void doProcess(ImapSession session,
                         ImapRequest message,
                         Responder responder)
Specified by:
doProcess in class AbstractImapProcessor

createResponder

protected Responder createResponder(org.jboss.netty.channel.Channel channel,
                                    ImapRequest request)
Overrides:
createResponder in class AbstractImapProcessor

listMailbox

protected abstract List<Mailbox> listMailbox(long userID,
                                             long ownerID,
                                             String mailboxName,
                                             MailboxQuery query)

getMailbox

protected abstract Mailbox getMailbox(long ownerID,
                                      String mailboxName)

doList

protected void doList(ImapSession session,
                      ListResponder responder,
                      String referenceName,
                      String mailboxName)


Copyright © 2011. All Rights Reserved.