public class POP3BeforeSMTPHandler extends Object implements org.apache.james.protocols.api.handler.ConnectHandler<org.apache.james.protocols.smtp.SMTPSession>, Configurable
Constructor and Description |
---|
POP3BeforeSMTPHandler() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.apache.commons.configuration.HierarchicalConfiguration config)
Configure the object.
|
org.apache.james.protocols.api.Response |
onConnect(org.apache.james.protocols.smtp.SMTPSession session) |
void |
setExpireTime(String rawExpireTime)
Set the time after which an ipAddresses should be handled as expired
|
public void configure(org.apache.commons.configuration.HierarchicalConfiguration config) throws org.apache.commons.configuration.ConfigurationException
Configurable
configure
in interface Configurable
org.apache.commons.configuration.ConfigurationException
public void setExpireTime(String rawExpireTime)
rawExpireTime
- The timepublic org.apache.james.protocols.api.Response onConnect(org.apache.james.protocols.smtp.SMTPSession session)
onConnect
in interface org.apache.james.protocols.api.handler.ConnectHandler<org.apache.james.protocols.smtp.SMTPSession>
ConnectHandler.onConnect(org.apache.james.protocols.api.ProtocolSession)
Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.