public class OioLMTPServer extends LMTPServer
LMTPServerLMTPServer.LMTPConfigurationImplconnectionLimit, connPerIP, DEFAULT_BACKLOG, DEFAULT_MAX_EXECUTOR_COUNT, DEFAULT_TIMEOUT, HELLO_NAME, jmxName| Constructor and Description |
|---|
OioLMTPServer() |
| 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, doConfigure, getCoreHandlersPackage, getDefaultJMXName, getDefaultPort, getHeloName, getJMXHandlersPackage, getMaximalMessageSize, getServiceType, setMaximalMessageSizegetProtocolHandlerChain, postDestroy, preInit, setProtocolHandlerLoaderconfigure, configureBootstrap, configureHelloName, createBossExecutor, createPipelineFactory, createWorkerExecutor, destroy, getBoundAddresses, getConnectionCountHandler, getCurrentConnections, getEnabledCipherSuites, getEncryption, getExecutionHandler, getFileSystem, getHandledConnections, getHelloName, getLogger, getMaximumConcurrentConnections, getSocketType, getStartTLSSupported, getThreadPoolJMXPath, init, isEnabled, isStarted, registerMBean, setFileSystem, setLog, start, stop, unregisterMBeanbind, getBacklog, getListenAddresses, getTimeout, isBound, setBacklog, setIoWorkerCount, setListenAddresses, setTimeout, unbindclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBoundAddresses, getCurrentConnections, getHandledConnections, getMaximumConcurrentConnections, getSocketType, getStartTLSSupported, getTimeout, isEnabled, isStarted, start, stopprotected org.jboss.netty.channel.socket.ServerSocketChannelFactory createSocketChannelFactory()
createSocketChannelFactory in class org.apache.james.protocols.netty.AbstractAsyncServerpublic int getIoWorkerCount()
getIoWorkerCount in class org.apache.james.protocols.netty.AbstractAsyncServerprotected org.jboss.netty.handler.execution.ExecutionHandler createExecutionHander()
ExecutionHandlercreateExecutionHander in class AbstractConfigurableAsyncServerCopyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.