org.apache.james.jspf.impl
Class DNSJnioAsynchService
java.lang.Object
org.apache.james.jspf.impl.DNSJnioAsynchService
- All Implemented Interfaces:
- DNSAsynchLookupService
public class DNSJnioAsynchService
- extends Object
- implements DNSAsynchLookupService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DNSJnioAsynchService
public DNSJnioAsynchService(uk.nominet.dnsjnio.ExtendedNonblockingResolver resolver)
setTimeout
public void setTimeout(int timeout)
- Set the timeout for the resolvers
- Parameters:
timeout
-
getRecordsAsynch
public void getRecordsAsynch(DNSRequest request,
int id,
IResponseQueue responsePool)
- Description copied from interface:
DNSAsynchLookupService
- Retrieve dns records for the given host asynchronously
- Specified by:
getRecordsAsynch
in interface DNSAsynchLookupService
- Parameters:
request
- the dns requestid
- the identification key for the response.responsePool
- the queue where the response will be appended.- See Also:
DNSAsynchLookupService.getRecordsAsynch(org.apache.james.jspf.core.DNSRequest, int, org.apache.james.jspf.executor.IResponseQueue)
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.