org.apache.james.smtpserver.core.filter.fastfail
Class SupressDuplicateRcptHandler

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.james.smtpserver.core.filter.fastfail.SupressDuplicateRcptHandler
All Implemented Interfaces:
org.apache.avalon.framework.logger.LogEnabled, CommandHandler

public class SupressDuplicateRcptHandler
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements CommandHandler

This handler can be used to just ignore duplicated recipients.


Constructor Summary
SupressDuplicateRcptHandler()
           
 
Method Summary
 java.util.Collection getImplCommands()
          Return a Collection of implemented commands
 void onCommand(SMTPSession session)
          Handle the command
 
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

SupressDuplicateRcptHandler

public SupressDuplicateRcptHandler()
Method Detail

getImplCommands

public java.util.Collection getImplCommands()
Description copied from interface: CommandHandler
Return a Collection of implemented commands

Specified by:
getImplCommands in interface CommandHandler
Returns:
Collection which contains implemented commands
See Also:
CommandHandler.getImplCommands()

onCommand

public void onCommand(SMTPSession session)
Description copied from interface: CommandHandler
Handle the command

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


Copyright ? 2002-2009 The Apache Software Foundation. All Rights Reserved.