public class OioLMTPServer extends LMTPServer
LMTPServer
LMTPServer.LMTPConfigurationImpl
connectionLimit, 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, setMaximalMessageSize
getProtocolHandlerChain, postDestroy, preInit, setProtocolHandlerLoader
configure, 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, 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.