public class LMTPServer extends AbstractProtocolAsyncServer implements LMTPServerMBean
| Modifier and Type | Class and Description |
|---|---|
class |
LMTPServer.LMTPConfigurationImpl
A class to provide SMTP handler configuration to the handlers
|
connectionLimit, connPerIP, DEFAULT_BACKLOG, DEFAULT_MAX_EXECUTOR_COUNT, DEFAULT_TIMEOUT, HELLO_NAME, jmxName| Constructor and Description |
|---|
LMTPServer() |
| Modifier and Type | Method and Description |
|---|---|
protected org.jboss.netty.channel.ChannelUpstreamHandler |
createCoreHandler() |
void |
doConfigure(org.apache.commons.configuration.HierarchicalConfiguration configuration) |
protected Class<? extends HandlersPackage> |
getCoreHandlersPackage()
Return the
HandlersPackage which is responsible to load the core ProtocolHandler |
protected String |
getDefaultJMXName()
Return the default name of the the server in JMX if none is configured
via "jmxname" in the configuration
|
int |
getDefaultPort()
Return the default port which will get used for this server if non is
specify in the configuration
|
String |
getHeloName()
Return the hello name
|
protected Class<? extends HandlersPackage> |
getJMXHandlersPackage()
Return the
HandlersPackage which is responsible to load the jmx ProtocolHandler |
long |
getMaximalMessageSize()
Return the maximum allowed size of the message
|
String |
getServiceType()
Return the service type of the server
|
void |
setMaximalMessageSize(long maxSize)
Set the maximum allowed size of messages.
|
getProtocolHandlerChain, postDestroy, preInit, setProtocolHandlerLoaderconfigure, configureBootstrap, configureHelloName, createBossExecutor, createExecutionHander, 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, createSocketChannelFactory, getBacklog, getIoWorkerCount, 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, stoppublic int getDefaultPort()
AbstractConfigurableAsyncServergetDefaultPort in class AbstractConfigurableAsyncServerAbstractConfigurableAsyncServer.getDefaultPort()public String getServiceType()
ServerMBeangetServiceType in interface ServerMBeanServerMBean.getServiceType()public void doConfigure(org.apache.commons.configuration.HierarchicalConfiguration configuration)
throws org.apache.commons.configuration.ConfigurationException
doConfigure in class AbstractProtocolAsyncServerorg.apache.commons.configuration.ConfigurationExceptionpublic long getMaximalMessageSize()
LMTPServerMBeangetMaximalMessageSize in interface LMTPServerMBeanLMTPServerMBean.getMaximalMessageSize()protected String getDefaultJMXName()
AbstractConfigurableAsyncServergetDefaultJMXName in class AbstractConfigurableAsyncServerAbstractConfigurableAsyncServer.getDefaultJMXName()public void setMaximalMessageSize(long maxSize)
LMTPServerMBeansetMaximalMessageSize in interface LMTPServerMBeanSMTPServerMBean.setMaximalMessageSize(long)public String getHeloName()
LMTPServerMBeangetHeloName in interface LMTPServerMBeanLMTPServerMBean.getHeloName()protected org.jboss.netty.channel.ChannelUpstreamHandler createCoreHandler()
createCoreHandler in class AbstractConfigurableAsyncServerprotected Class<? extends HandlersPackage> getCoreHandlersPackage()
AbstractProtocolAsyncServerHandlersPackage which is responsible to load the core ProtocolHandlergetCoreHandlersPackage in class AbstractProtocolAsyncServerprotected Class<? extends HandlersPackage> getJMXHandlersPackage()
AbstractProtocolAsyncServerHandlersPackage which is responsible to load the jmx ProtocolHandlergetJMXHandlersPackage in class AbstractProtocolAsyncServerCopyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.