|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.dns.messages.QuestionRecord
public class QuestionRecord
The question section is used to carry the "question" in most queries, i.e., the parameters that define what is being asked. The section contains QDCOUNT (usually 1) entries, each of the following format: 1 1 1 1 1 1 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | | / QNAME / / / +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | QTYPE | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ | QCLASS | +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
| Constructor Summary | |
|---|---|
QuestionRecord(String domainName,
RecordType recordType,
RecordClass recordClass)
Creates a new instance of QuestionRecord. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
|
String |
getDomainName()
The domain name of this query. |
RecordClass |
getRecordClass()
The class for this query. |
RecordType |
getRecordType()
The type of the query. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public QuestionRecord(String domainName,
RecordType recordType,
RecordClass recordClass)
domainName - recordType - recordClass - | Method Detail |
|---|
public String getDomainName()
public RecordType getRecordType()
RecordType.public RecordClass getRecordClass()
RecordClass.public boolean equals(Object object)
equals in class ObjectObject.equals(Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||