|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.lavantech.net.dns.QuestionRecord
Question Record represents the query that resulted in a response from a DNS server
Constructor Summary | |
QuestionRecord(java.lang.String qName,
int qType,
int qClass)
Constructor for the question record. |
Method Summary | |
int |
getQuestionClass()
Returns the question class type |
java.lang.String |
getQuestionName()
Returns the question string |
int |
getQuestionType()
Returns the question record type |
java.lang.String |
toString()
Returns a String representation of the record. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public QuestionRecord(java.lang.String qName, int qType, int qClass)
qName
- Query (hostname/domain/ipaddress)qType
- Query Record typeqClass
- Query Class (QCLASS_IN for Internet class)Method Detail |
public java.lang.String getQuestionName()
public int getQuestionType()
public int getQuestionClass()
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |