com.hs.mail.imap.processor
Class AbstractListProcessor
java.lang.Object
com.hs.mail.imap.processor.AbstractImapProcessor
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractListProcessor
public AbstractListProcessor()
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.