|
||||||||||
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(java.lang.String domainName,
RecordType recordType,
RecordClass recordClass)
Creates a new instance of QuestionRecord. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
|
java.lang.String |
getDomainName()
The domain name of this query. |
RecordClass |
getRecordClass()
The class for this query. |
RecordType |
getRecordType()
The type of the query. |
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QuestionRecord(java.lang.String domainName, RecordType recordType, RecordClass recordClass)
domainName
- recordType
- recordClass
- Method Detail |
---|
public java.lang.String getDomainName()
public RecordType getRecordType()
RecordType
.public RecordClass getRecordClass()
RecordClass
.public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
Object.equals(Object)
public int hashCode()
hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |