org.apache.james.smtpserver
Class DNSRBLHandler

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.james.smtpserver.DNSRBLHandler
All Implemented Interfaces:
org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled, ConnectHandler

public class DNSRBLHandler
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements ConnectHandler, org.apache.avalon.framework.configuration.Configurable

Connect handler for DNSRBL processing


Constructor Summary
DNSRBLHandler()
           
 
Method Summary
 boolean checkDNSRBL(SMTPSession session, java.lang.String ipAddress)
           
 void configure(org.apache.avalon.framework.configuration.Configuration handlerConfiguration)
           
 void onConnect(SMTPSession session)
           
 
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

DNSRBLHandler

public DNSRBLHandler()
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)

onConnect

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

checkDNSRBL

public boolean checkDNSRBL(SMTPSession session,
                           java.lang.String ipAddress)
See Also:
org.apache.james.smtpserver.SMTPHandlerConfigurationData#checkDNSRBL(Socket)


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