|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.james.jspf.impl.DNSJnioAsynchService
public class DNSJnioAsynchService
Constructor Summary | |
---|---|
DNSJnioAsynchService(org.xbill.DNS.ExtendedNonblockingResolver resolver)
|
Method Summary | |
---|---|
void |
getRecordsAsynch(DNSRequest request,
int id,
IResponseQueue responsePool)
Retrieve dns records for the given host asynchronously |
void |
setTimeout(int timeout)
Set the timeout for the resolvers |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DNSJnioAsynchService(org.xbill.DNS.ExtendedNonblockingResolver resolver)
Method Detail |
---|
public void setTimeout(int timeout)
timeout
- public void getRecordsAsynch(DNSRequest request, int id, IResponseQueue responsePool)
DNSAsynchLookupService
getRecordsAsynch
in interface DNSAsynchLookupService
request
- the dns requestid
- the identification key for the response.responsePool
- the queue where the response will be appended.DNSAsynchLookupService.getRecordsAsynch(org.apache.james.jspf.core.DNSRequest, int, org.apache.james.jspf.executor.IResponseQueue)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |