public class DNSJnioAsynchService extends Object implements DNSAsynchLookupService
| Constructor and Description |
|---|
DNSJnioAsynchService(uk.nominet.dnsjnio.ExtendedNonblockingResolver resolver) |
| Modifier and Type | Method and Description |
|---|---|
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
|
public DNSJnioAsynchService(uk.nominet.dnsjnio.ExtendedNonblockingResolver resolver)
public void setTimeout(int timeout)
timeout - public void getRecordsAsynch(DNSRequest request, int id, IResponseQueue responsePool)
DNSAsynchLookupServicegetRecordsAsynch in interface DNSAsynchLookupServicerequest - 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)Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.