org.mmbase.module.smtp
Class SMTPModule

java.lang.Object
  extended by org.mmbase.util.functions.FunctionProvider
      extended by org.mmbase.util.functions.DescribedFunctionProvider
          extended by org.mmbase.module.Module
              extended by org.mmbase.module.ReloadableModule
                  extended by org.mmbase.module.WatchedReloadableModule
                      extended by org.mmbase.module.smtp.SMTPModule
All Implemented Interfaces:
Descriptor

public class SMTPModule
extends WatchedReloadableModule

RFC 2821 partial-compliant SMTP server. All commands needed for a compliant SMTP server are implemented, but no more than these.

Version:
$Id: SMTPModule.java 35335 2009-05-21 08:14:41Z michiel $
Author:
Johannes Verelst <johannes.verelst@eo.nl>

Field Summary
(package private)  SMTPListener listener
           
(package private)  Map<String,String> properties
           
 
Fields inherited from class org.mmbase.module.Module
configurationPath, getMaintainerFunction, getVersionFunction, STATE_START_TIME
 
Fields inherited from class org.mmbase.util.functions.DescribedFunctionProvider
description, guiName, name
 
Fields inherited from class org.mmbase.util.functions.FunctionProvider
functions, getFunctions
 
Constructor Summary
SMTPModule()
           
 
Method Summary
 String getLocalEmailDomains()
           
 void init()
          Initializes the module.
static void main(String[] args)
          Useful for debugging
 void reload()
          This method should be called when the module should be reloaded.
 void shutdown()
          Shutdown method.
 
Methods inherited from class org.mmbase.module.WatchedReloadableModule
onload
 
Methods inherited from class org.mmbase.module.ReloadableModule
reloadConfiguration, reloadConfiguration
 
Methods inherited from class org.mmbase.module.Module
addInitParameters, checkModules, getInitParameter, getInitParameter, getInitParameter, getInitParameters, getInitParameters, getMaintainer, getModule, getModule, getModule, getModule, getModuleInfo, getModuleLoader, getModuleReader, getModuleReader, getModules, getState, getStates, getVersion, hasModule, hasStarted, loadInitParameters, loadInitParameters, maintainance, setInitParameter, setMaintainer, setState, setVersion, shutdownModules, startModule, startModules
 
Methods inherited from class org.mmbase.util.functions.DescribedFunctionProvider
getDefaultLocale, getDescription, getDescription, getGUIName, getGUIName, getLocalizedDescription, getLocalizedGUIName, getName, setDescription, setDescription, setGUIName, setGUIName, setLocalizedDescription, setLocalizedGUIName, setName
 
Methods inherited from class org.mmbase.util.functions.FunctionProvider
addFunction, createParameters, getFunction, getFunctions, getFunctionValue, newFunctionInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

listener

SMTPListener listener

properties

Map<String,String> properties
Constructor Detail

SMTPModule

public SMTPModule()
Method Detail

init

public void init()
Description copied from class: Module
Initializes the module. Init must be overridden to read the environment variables it needs.
This method is called by Module.startModule(), which makes sure it is not called more than once. You should not call init() directly, call startModule() instead.

Overrides:
init in class Module

reload

public void reload()
Description copied from class: ReloadableModule
This method should be called when the module should be reloaded.

Specified by:
reload in class ReloadableModule

getLocalEmailDomains

public String getLocalEmailDomains()

shutdown

public void shutdown()
Shutdown method. Cleanly shut down all current threads

Overrides:
shutdown in class Module

main

public static void main(String[] args)
Useful for debugging



MMBase 2.0-SNAPSHOT - null