public class OioSMTPServer extends SMTPServer
SMTPServerSMTPServer.SMTPHandlerConfigurationDataImplconnectionLimit, connPerIP, DEFAULT_BACKLOG, DEFAULT_MAX_EXECUTOR_COUNT, DEFAULT_TIMEOUT, HELLO_NAME, jmxName| Constructor and Description |
|---|
OioSMTPServer() |
| 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, getAddressBracketsEnforcement, getCoreHandlersPackage, getDefaultJMXName, getDefaultPort, getHeloEhloEnforcement, getHeloName, getJMXHandlersPackage, getMaximalMessageSize, getServiceType, preInit, setAddressBracketsEnforcement, setDNSService, setHeloEhloEnforcement, setMaximalMessageSizegetProtocolHandlerChain, postDestroy, 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, waitgetSocketType, isEnabledgetBoundAddresses, 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.