org.apache.james.jspf.core
Class DNSLookupContinuation
java.lang.Object
org.apache.james.jspf.core.DNSLookupContinuation
public class DNSLookupContinuation
- extends Object
This object is used as the return value for spf resolving tasks.
Every time a DNS resolution is needed the task should simply return
this one including the DNSRequest and a listener to be invoked
when the answer will be available.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DNSLookupContinuation
public DNSLookupContinuation(DNSRequest request,
SPFCheckerDNSResponseListener listener)
getRequest
public DNSRequest getRequest()
- Return the DNSRequest which was used
- Returns:
- request
getListener
public SPFCheckerDNSResponseListener getListener()
- Return the SPFCheckerDNSResponseListener which should called for the DNSRequest
- Returns:
- listener
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.