org.apache.james.jspf.core
Interface SPFCheckerDNSResponseListener
- All Known Implementing Classes:
- AMechanism, ExistsMechanism, ExpModifier, MXMechanism, PTRMechanism
public interface SPFCheckerDNSResponseListener
Listeners which should get called for a SPFCheck when the DNSResponse is aviable should implement
this interface.
onDNSResponse
DNSLookupContinuation onDNSResponse(DNSResponse response,
SPFSession session)
throws PermErrorException,
NoneException,
TempErrorException,
NeutralException
- Continue the check for SPF with the given values and the given DNSResponse
- Parameters:
response - The DNSResponse which should be used to run the checksession - The SPFSession which should be used to run the check
- Throws:
PermErrorException - Get thrown if an error was detected
NoneException - Get thrown if no Record was found
TempErrorException - Get thrown if a DNS problem was detected
NeutralException - Get thrown if the result should be neutral
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.