SK.gnome.dwarf.mail.smtp
Class QueueHandler

java.lang.Object
  extended bySK.gnome.dwarf.GenericService
      extended bySK.gnome.dwarf.thread.ThreadService
          extended bySK.gnome.dwarf.thread.Handler
              extended bySK.gnome.dwarf.mail.smtp.QueueHandler
All Implemented Interfaces:
SK.gnome.dwarf.Reportable, java.lang.Runnable, SK.gnome.dwarf.Service, SK.gnome.dwarf.Stoppable

public class QueueHandler
extends SK.gnome.dwarf.thread.Handler
implements SK.gnome.dwarf.Reportable

Provides mail queue handling.

This service handles the mail queue processing as well as the local and remote mail deliveries. It also automatically generates DSN messages if this extension is enabled by the server configuration.


Field Summary
 
Fields inherited from class SK.gnome.dwarf.thread.ThreadService
daemon, thread
 
Fields inherited from class SK.gnome.dwarf.GenericService
initParameters, parent
 
Fields inherited from interface SK.gnome.dwarf.Service
INITIALIZED, LOG_DEBUG, LOG_ERROR, LOG_FATAL, LOG_INFO, LOG_TRACE, LOG_WARN, LOG_XFER, SHUTDOWN, STARTED, STOPPED
 
Constructor Summary
QueueHandler(java.lang.String name)
          Creates a new QueueHandler.
 
Method Summary
protected  void handle(java.lang.Object obj)
           
 void init(SK.gnome.dwarf.Server parent)
           
 java.lang.String report()
           
 
Methods inherited from class SK.gnome.dwarf.thread.Handler
enableThread, loop, start
 
Methods inherited from class SK.gnome.dwarf.thread.ThreadService
finish, run, setDaemon, shutdown, stop
 
Methods inherited from class SK.gnome.dwarf.GenericService
getAuthenticator, getAuthFacility, getFullName, getInitParameter, getInitParameterNames, getLogFacility, getLogger, getName, getParameters, getPrincipal, getShutdownTimeout, getState, log, log, login, logout, setAuthFacility, setInitParameters, setLogFacility, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueueHandler

public QueueHandler(java.lang.String name)
Creates a new QueueHandler.

Method Detail

init

public void init(SK.gnome.dwarf.Server parent)
          throws SK.gnome.dwarf.ServiceException
Specified by:
init in interface SK.gnome.dwarf.Service
Throws:
SK.gnome.dwarf.ServiceException

report

public java.lang.String report()
Specified by:
report in interface SK.gnome.dwarf.Reportable

handle

protected void handle(java.lang.Object obj)


Copyright (c) 2004-2005, Gnome Ltd. All rights reserved.