org.apache.james.smtpserver
Class MailCmdHandler

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.james.smtpserver.MailCmdHandler
All Implemented Interfaces:
org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, CommandHandler

public class MailCmdHandler
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements CommandHandler, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.service.Serviceable

Handles MAIL command


Constructor Summary
MailCmdHandler()
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration handlerConfiguration)
           
 void onCommand(SMTPSession session)
          handles MAIL command
 void service(org.apache.avalon.framework.service.ServiceManager serviceMan)
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailCmdHandler

public MailCmdHandler()
Method Detail

configure

public void configure(org.apache.avalon.framework.configuration.Configuration handlerConfiguration)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
Throws:
org.apache.avalon.framework.configuration.ConfigurationException
See Also:
Configurable.configure(Configuration)

service

public void service(org.apache.avalon.framework.service.ServiceManager serviceMan)
             throws org.apache.avalon.framework.service.ServiceException
Specified by:
service in interface org.apache.avalon.framework.service.Serviceable
Throws:
org.apache.avalon.framework.service.ServiceException
See Also:
Serviceable.service(ServiceManager)

onCommand

public void onCommand(SMTPSession session)
handles MAIL command

Specified by:
onCommand in interface CommandHandler
See Also:
CommandHandler.onCommand(SMTPSession)


Copyright © 2002-2007 The Apache Software Foundation. All Rights Reserved.