public class IdleProcessor extends AbstractMailboxProcessor<IdleRequest> implements CapabilityImplementingProcessor
ImapProcessor.Responder| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_HEARTBEAT_INTERVAL_IN_SECONDS |
static TimeUnit |
DEFAULT_HEARTBEAT_INTERVAL_UNIT |
static int |
DEFAULT_SCHEDULED_POOL_CORE_SIZE |
| Constructor and Description |
|---|
IdleProcessor(ImapProcessor next,
org.apache.james.mailbox.MailboxManager mailboxManager,
StatusResponseFactory factory) |
IdleProcessor(ImapProcessor next,
org.apache.james.mailbox.MailboxManager mailboxManager,
StatusResponseFactory factory,
long heartbeatInterval,
TimeUnit heartbeatIntervalUnit,
ScheduledExecutorService heartbeatExecutor) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doProcess(IdleRequest message,
ImapSession session,
String tag,
ImapCommand command,
ImapProcessor.Responder responder) |
List<String> |
getImplementedCapabilities(ImapSession session)
Return a list of all Capabilities that are implemented by the Processor
|
addFlagsResponses, buildFullPath, bye, bye, condstoreEnablingCommand, doProcess, flags, getMailboxManager, getSelectedMailbox, getStatusResponseFactory, idRanges, mailboxName, messageRange, no, no, normalizeMessageRange, okComplete, okComplete, permanentFlags, process, respondVanished, taggedBad, unsolicitedResponses, unsolicitedResponsesisAcceptable, processclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocesspublic static final long DEFAULT_HEARTBEAT_INTERVAL_IN_SECONDS
public static final TimeUnit DEFAULT_HEARTBEAT_INTERVAL_UNIT
public static final int DEFAULT_SCHEDULED_POOL_CORE_SIZE
public IdleProcessor(ImapProcessor next, org.apache.james.mailbox.MailboxManager mailboxManager, StatusResponseFactory factory)
public IdleProcessor(ImapProcessor next, org.apache.james.mailbox.MailboxManager mailboxManager, StatusResponseFactory factory, long heartbeatInterval, TimeUnit heartbeatIntervalUnit, ScheduledExecutorService heartbeatExecutor)
protected void doProcess(IdleRequest message, ImapSession session, String tag, ImapCommand command, ImapProcessor.Responder responder)
doProcess in class AbstractMailboxProcessor<IdleRequest>public List<String> getImplementedCapabilities(ImapSession session)
CapabilityImplementingProcessorgetImplementedCapabilities in interface CapabilityImplementingProcessor#getImplementedCapabilities(org.apache.james.imap.api.process.ImapSession)Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.