SK.gnome.dwarf.mail.imap
Class IMAPServer

java.lang.Object
  extended bySK.gnome.dwarf.GenericService
      extended bySK.gnome.dwarf.GenericServer
          extended bySK.gnome.dwarf.thread.ThreadServer
              extended bySK.gnome.dwarf.thread.MultiThreadServer
                  extended bySK.gnome.dwarf.tcpip.TCPIPServer
                      extended bySK.gnome.dwarf.mail.MailServer
                          extended bySK.gnome.dwarf.mail.imap.IMAPServer
All Implemented Interfaces:
SK.gnome.dwarf.Reportable, java.lang.Runnable, SK.gnome.dwarf.Server, SK.gnome.dwarf.Service

public class IMAPServer
extends MailServer

This is the main IMAP server object.


Field Summary
 
Fields inherited from class SK.gnome.dwarf.mail.MailServer
hosts
 
Fields inherited from class SK.gnome.dwarf.tcpip.TCPIPServer
sslContext
 
Fields inherited from class SK.gnome.dwarf.thread.MultiThreadServer
counter
 
Fields inherited from class SK.gnome.dwarf.thread.ThreadServer
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
IMAPServer(java.lang.String name)
          Creates a new IMAPServer.
 
Method Summary
 void init(SK.gnome.dwarf.Server parent)
          Initializes the service.
 
Methods inherited from class SK.gnome.dwarf.mail.MailServer
addService, getACLStore, getMailHost, getMailHostByUser, getMailStore, getUserStore
 
Methods inherited from class SK.gnome.dwarf.tcpip.TCPIPServer
createSSLServerSocket, createSSLServerSocket, createSSLSocket, enqueue, finish, getRequestReadTimeout, getTCPRequest, isBlocking, isSSLConfigured, loop, report, setKeyPwd, setKeyStorePwd, setKeyStoreURL, setRegistrationQueueSize, setRequestClass, setSSLProtocol, shutdown, start
 
Methods inherited from class SK.gnome.dwarf.thread.MultiThreadServer
dequeue, enableThread, getHandlerTimeout, setHandlerClass, setHandlerTimeout, setMaxHandlers, setMinHandlers, setQueueSize, setSingleRequest, wakeUpHandlers
 
Methods inherited from class SK.gnome.dwarf.thread.ThreadServer
finish, run, setDaemon, stop
 
Methods inherited from class SK.gnome.dwarf.GenericServer
addService, getAuthenticator, getLogger, getParameters, getService, getServices, getServices, removeService
 
Methods inherited from class SK.gnome.dwarf.GenericService
getAuthFacility, getFullName, getInitParameter, getInitParameterNames, getLogFacility, getName, 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
 
Methods inherited from interface SK.gnome.dwarf.Service
getFullName, getName, getState, log, log, login, logout
 

Constructor Detail

IMAPServer

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

The setHandlerClass(IMAPHandler.class) is invoked to set the initial handler class. That means the server will use IMAPHandler objects for handling the client connections by default.

Method Detail

init

public void init(SK.gnome.dwarf.Server parent)
          throws SK.gnome.dwarf.ServiceException
Initializes the service.

Specified by:
init in interface SK.gnome.dwarf.Service
Overrides:
init in class MailServer
Throws:
SK.gnome.dwarf.ServiceException


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