|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.james.jspf.core.DNSLookupContinuation
public class 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 | |
---|---|
DNSLookupContinuation(DNSRequest request,
SPFCheckerDNSResponseListener listener)
|
Method Summary | |
---|---|
SPFCheckerDNSResponseListener |
getListener()
Return the SPFCheckerDNSResponseListener which should called for the DNSRequest |
DNSRequest |
getRequest()
Return the DNSRequest which was used |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DNSLookupContinuation(DNSRequest request, SPFCheckerDNSResponseListener listener)
Method Detail |
---|
public DNSRequest getRequest()
public SPFCheckerDNSResponseListener getListener()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |