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.
  • Constructor Details

  • Method Details

    • 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