org.apache.james.smtpserver.core
Class POP3BeforeSMTPHandler

java.lang.Object
  extended by org.apache.james.smtpserver.core.POP3BeforeSMTPHandler
All Implemented Interfaces:
org.apache.avalon.framework.configuration.Configurable, ConnectHandler

public class POP3BeforeSMTPHandler
extends java.lang.Object
implements ConnectHandler, org.apache.avalon.framework.configuration.Configurable

This ConnectHandler can be used to activate pop-before-smtp


Constructor Summary
POP3BeforeSMTPHandler()
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration arg0)
           
 void onConnect(SMTPSession session)
           
 void setExpireTime(java.lang.String rawExpireTime)
          Set the time after which an ipAddresses should be handled as expired
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

POP3BeforeSMTPHandler

public POP3BeforeSMTPHandler()
Method Detail

configure

public void configure(org.apache.avalon.framework.configuration.Configuration arg0)
               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)

setExpireTime

public void setExpireTime(java.lang.String rawExpireTime)
Set the time after which an ipAddresses should be handled as expired

Parameters:
rawExpireTime - The time

onConnect

public void onConnect(SMTPSession session)
Specified by:
onConnect in interface ConnectHandler
See Also:
ConnectHandler.onConnect(SMTPSession)


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