Class JspfDnsService

java.lang.Object
ch.tocco.nice2.messaging.mail.impl.JspfDnsService
All Implemented Interfaces:
org.apache.james.jspf.core.DNSService

@Component public class JspfDnsService extends Object implements org.apache.james.jspf.core.DNSService
  • Constructor Details

  • Method Details

    • getRecords

      public @Nullable List<String> getRecords(org.apache.james.jspf.core.DNSRequest request) throws org.apache.james.jspf.core.exceptions.TimeoutException
      Specified by:
      getRecords in interface org.apache.james.jspf.core.DNSService
      Throws:
      org.apache.james.jspf.core.exceptions.TimeoutException
    • getRecordsAsync

      public CompletionStage<List<String>> getRecordsAsync(org.apache.james.jspf.core.DNSRequest request)
      Specified by:
      getRecordsAsync in interface org.apache.james.jspf.core.DNSService
    • getLocalDomainNames

      public List<String> getLocalDomainNames()
      Specified by:
      getLocalDomainNames in interface org.apache.james.jspf.core.DNSService
    • setTimeOut

      public void setTimeOut(int timeOut)
      Specified by:
      setTimeOut in interface org.apache.james.jspf.core.DNSService
    • getRecordLimit

      public int getRecordLimit()
      Specified by:
      getRecordLimit in interface org.apache.james.jspf.core.DNSService
    • setRecordLimit

      public void setRecordLimit(int recordLimit)
      Specified by:
      setRecordLimit in interface org.apache.james.jspf.core.DNSService