org.apache.james.jspf.executor
Interface DNSAsynchLookupService

All Known Implementing Classes:
DNSJnioAsynchService, DNSServiceAsynchSimulator

public interface DNSAsynchLookupService

Interface which should be used to access all necassary DNS-Records


Method Summary
 void getRecordsAsynch(DNSRequest request, int id, IResponseQueue responsePool)
          Retrieve dns records for the given host asynchronously
 

Method Detail

getRecordsAsynch

void getRecordsAsynch(DNSRequest request,
                      int id,
                      IResponseQueue responsePool)
Retrieve dns records for the given host asynchronously

Parameters:
request - the dns request
id - the identification key for the response.
responsePool - the queue where the response will be appended.


Copyright © 2006-2009 The Apache Software Foundation. All Rights Reserved.