org.apache.directory.server.dns.store
Interface RecordStore

All Known Implementing Classes:
JndiRecordStoreImpl, RecordStoreStub

public interface RecordStore

The store interface used by the DNS protocol to lookup resource records.

Author:
Apache Directory Project

Method Summary
 Set<ResourceRecord> getRecords(QuestionRecord question)
          Returns a set of ResourceRecords, given a DNS QuestionRecord.
 

Method Detail

getRecords

Set<ResourceRecord> getRecords(QuestionRecord question)
                               throws DnsException
Returns a set of ResourceRecords, given a DNS QuestionRecord. If something bad happens throw the accurate DnsException

Parameters:
question -
Returns:
The set of ResourceRecords.
Throws:
DnsException


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.