public class OioIMAPServer extends IMAPServer
IMAPServer
DEFAULT_IN_MEMORY_SIZE_LIMIT, DEFAULT_LITERAL_SIZE_LIMIT, DEFAULT_MAX_LINE_LENGTH, DEFAULT_TIMEOUT
connectionLimit, connPerIP, DEFAULT_BACKLOG, DEFAULT_MAX_EXECUTOR_COUNT, HELLO_NAME, jmxName
DEFAULT_IO_WORKER_COUNT
ACL_RESPONSE_NAME, APPEND_COMMAND_NAME, AUTHENTICATE_COMMAND_NAME, BACK_SLASH, BAD, BYE, BYTE_BACK_SLASH, BYTE_CLOSE_BRACE, BYTE_CLOSE_SQUARE_BRACKET, BYTE_CLOSING_PARENTHESIS, BYTE_DQUOTE, BYTE_OPEN_BRACE, BYTE_OPEN_SQUARE_BRACKET, BYTE_OPENING_PARENTHESIS, BYTE_QUESTION, BYTE_SP, CAPABILITY_COMMAND_NAME, CHECK_COMMAND_NAME, CLOSE_COMMAND_NAME, CLOSING_PARENTHESIS, CLOSING_SQUARE_BRACKET, COMPRESS_COMMAND_NAME, CONTINUATION, COPY_COMMAND_NAME, CREATE_COMMAND_NAME, DEFAULT_BATCH_SIZE, DELETE_COMMAND_NAME, DELETEACL_COMMAND_NAME, DQUOTE, EMPTY_STRING_ARRAY, ENABLE_COMMAND_NAME, EXAMINE_COMMAND_NAME, EXPUNGE_COMMAND_NAME, FETCH_BODY, FETCH_BODY_STRUCTURE, FETCH_COMMAND_NAME, FETCH_MODSEQ, FETCH_RFC822, FETCH_RFC822_HEADER, FETCH_RFC822_TEXT, GETACL_COMMAND_NAME, IDLE_COMMAND_NAME, INBOX_NAME, LINE_END, LIST_COMMAND_NAME, LIST_RESPONSE_NAME, LISTRIGHTS_COMMAND_NAME, LISTRIGHTS_RESPONSE_NAME, LOGIN_COMMAND_NAME, LOGOUT_COMMAND_NAME, LSUB_COMMAND_NAME, LSUB_RESPONSE_NAME, MAX_NZ_NUMBER, MIME_HEADER_CONTENT_LANGUAGE, MIME_HEADER_CONTENT_LOCATION, MIME_HEADER_CONTENT_MD5, MIME_SUBTYPE_PLAIN, MIME_SUBTYPE_RFC822, MIME_TYPE_MESSAGE, MIME_TYPE_MULTIPART, MIME_TYPE_TEXT, MIN_NZ_NUMBER, MYRIGHTS_COMMAND_NAME, MYRIGHTS_RESPONSE_NAME, NAME_ATTRIBUTE_HAS_CHILDREN, NAME_ATTRIBUTE_HAS_NO_CHILDREN, NAME_ATTRIBUTE_MARKED, NAME_ATTRIBUTE_NOINFERIORS, NAME_ATTRIBUTE_NOSELECT, NAME_ATTRIBUTE_UNMARKED, NAMESPACE_COMMAND_NAME, NIL, NO, NOOP_COMMAND_NAME, OK, OPENING_PARENTHESIS, OPENING_SQUARE_BRACKET, PS_HEADER, PS_MIME, PS_TEXT, RENAME_COMMAND_NAME, RFC822_BCC, RFC822_CC, RFC822_DATE, RFC822_FROM, RFC822_IN_REPLY_TO, RFC822_MESSAGE_ID, RFC822_REPLY_TO, RFC822_SENDER, RFC822_SUBJECT, RFC822_TO, SEARCH_COMMAND_NAME, SEARCH_RESPONSE_NAME, SELECT_COMMAND_NAME, SETACL_COMMAND_NAME, SP, SP_CHAR, STARTTLS, STATUS_COMMAND_NAME, STATUS_HIGHESTMODSEQ, STATUS_MESSAGES, STATUS_RECENT, STATUS_UIDNEXT, STATUS_UIDVALIDITY, STATUS_UNSEEN, STORE_COMMAND_NAME, SUBSCRIBE_COMMAND_NAME, SUPPORTS_ACL, SUPPORTS_CONDSTORE, SUPPORTS_ENABLE, SUPPORTS_I18NLEVEL_1, SUPPORTS_IDLE, SUPPORTS_LITERAL_PLUS, SUPPORTS_NAMESPACES, SUPPORTS_QRESYNC, SUPPORTS_RFC3348, SUPPORTS_STARTTLS, SUPPORTS_XLIST, UID, UID_COMMAND_NAME, UNSELECT_COMMAND_NAME, UNSUBSCRIBE_COMMAND_NAME, UNTAGGED, UTF8, VERSION, XLIST_COMMAND_NAME, XLIST_RESPONSE_NAME
attributes, CHUNK_WRITE_HANDLER, CONNECTION_COUNT_HANDLER, CONNECTION_LIMIT_HANDLER, CONNECTION_LIMIT_PER_IP_HANDLER, CORE_HANDLER, EXECUTION_HANDLER, FRAMER, GROUP_HANDLER, HEARTBEAT_HANDLER, REQUEST_DECODER, SSL_HANDLER, TIMEOUT_HANDLER, ZLIB_DECODER, ZLIB_ENCODER
Constructor and Description |
---|
OioIMAPServer() |
Modifier and Type | Method and Description |
---|---|
protected org.jboss.netty.handler.execution.ExecutionHandler |
createExecutionHander()
As OIO use one thread per connection we disable the use of the
ExecutionHandler |
protected org.jboss.netty.channel.socket.ServerSocketChannelFactory |
createSocketChannelFactory() |
int |
getIoWorkerCount()
Return -1 as it is not known
|
createCoreHandler, createEncoder, createPipelineFactory, doConfigure, getDefaultJMXName, getDefaultPort, getServiceType, setImapDecoder, setImapEncoder, setImapProcessor
configure, configureBootstrap, configureHelloName, createBossExecutor, createWorkerExecutor, destroy, getBoundAddresses, getConnectionCountHandler, getCurrentConnections, getEnabledCipherSuites, getEncryption, getExecutionHandler, getFileSystem, getHandledConnections, getHelloName, getLogger, getMaximumConcurrentConnections, getSocketType, getStartTLSSupported, getThreadPoolJMXPath, init, isEnabled, isStarted, postDestroy, preInit, registerMBean, setFileSystem, setLog, start, stop, unregisterMBean
bind, getBacklog, getListenAddresses, getTimeout, isBound, setBacklog, setIoWorkerCount, setListenAddresses, setTimeout, unbind
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBoundAddresses, getCurrentConnections, getHandledConnections, getMaximumConcurrentConnections, getSocketType, getStartTLSSupported, getTimeout, isEnabled, isStarted, start, stop
protected org.jboss.netty.channel.socket.ServerSocketChannelFactory createSocketChannelFactory()
createSocketChannelFactory
in class org.apache.james.protocols.netty.AbstractAsyncServer
public int getIoWorkerCount()
getIoWorkerCount
in class org.apache.james.protocols.netty.AbstractAsyncServer
protected org.jboss.netty.handler.execution.ExecutionHandler createExecutionHander()
ExecutionHandler
createExecutionHander
in class AbstractConfigurableAsyncServer
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.