Package org.apache.james.jspf.core
Class DNSLookupContinuation
java.lang.Object
org.apache.james.jspf.core.DNSLookupContinuation
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.
-
Constructor Summary
ConstructorsConstructorDescriptionDNSLookupContinuation
(DNSRequest request, SPFCheckerDNSResponseListener listener) -
Method Summary
Modifier and TypeMethodDescriptionReturn the SPFCheckerDNSResponseListener which should called for the DNSRequestReturn the DNSRequest which was used
-
Constructor Details
-
DNSLookupContinuation
-
-
Method Details
-
getRequest
Return the DNSRequest which was used- Returns:
- request
-
getListener
Return the SPFCheckerDNSResponseListener which should called for the DNSRequest- Returns:
- listener
-