SK.gnome.dwarf.mail.smtp.proc.agent
Class ListServer.Command

java.lang.Object
  extended bySK.gnome.dwarf.GenericService
      extended bySK.gnome.dwarf.thread.ThreadService
          extended bySK.gnome.dwarf.main.Command
              extended bySK.gnome.dwarf.mail.smtp.proc.agent.ListServer.Command
All Implemented Interfaces:
java.lang.Runnable, SK.gnome.dwarf.Service
Enclosing class:
ListServer

public static class ListServer.Command
extends SK.gnome.dwarf.main.Command

Provides a console command for managing the list server.


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
ListServer.Command(java.lang.String name)
          Creates a new Command.
 
Method Summary
protected  void execute(javax.security.auth.Subject subject, SK.gnome.dwarf.Service service, java.lang.String[] args, java.io.Writer out)
           
 java.lang.String getDescription()
           
 void init(SK.gnome.dwarf.Server parent)
           
 void printHelp(java.io.PrintWriter out)
           
 
Methods inherited from class SK.gnome.dwarf.thread.ThreadService
enableThread, finish, loop, run, setDaemon, shutdown, start, 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

ListServer.Command

public ListServer.Command(java.lang.String name)
Creates a new Command.

Method Detail

getDescription

public java.lang.String getDescription()

printHelp

public void printHelp(java.io.PrintWriter out)

init

public void init(SK.gnome.dwarf.Server parent)
          throws SK.gnome.dwarf.ServiceException
Throws:
SK.gnome.dwarf.ServiceException

execute

protected void execute(javax.security.auth.Subject subject,
                       SK.gnome.dwarf.Service service,
                       java.lang.String[] args,
                       java.io.Writer out)
                throws SK.gnome.dwarf.main.CommandException
Throws:
SK.gnome.dwarf.main.CommandException


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