|
|||||||||
| Home >> All >> [ HeaderF overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
HeaderF
Class DNSHeader

java.lang.ObjectHeaderF.Header
HeaderF.DNSHeader
- public class DNSHeader
- extends Header
| Field Summary | |
private int |
flags
|
private int |
identification
|
private int |
no_additional_rrs
|
private int |
no_answer_rrs
|
private int |
no_authority_rrs
|
private int |
no_questions
|
private java.lang.String |
opcode_type
|
private java.lang.String |
qr_type
|
| Constructor Summary | |
DNSHeader(java.io.BufferedInputStream src,
Misc.Counter ct)
Creates a new instance of DNSHeader |
|
| Method Summary | |
int |
getIdentification()
|
javax.swing.tree.DefaultMutableTreeNode |
getInfoTree()
|
java.lang.String |
getOpcodeType()
|
java.lang.String |
getQRType()
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
identification
private int identification
flags
private int flags
no_questions
private int no_questions
no_answer_rrs
private int no_answer_rrs
no_authority_rrs
private int no_authority_rrs
no_additional_rrs
private int no_additional_rrs
qr_type
private java.lang.String qr_type
opcode_type
private java.lang.String opcode_type
| Constructor Detail |
DNSHeader
public DNSHeader(java.io.BufferedInputStream src, Misc.Counter ct) throws java.io.IOException, Exceptions.InvalidHeaderException
- Creates a new instance of DNSHeader
| Method Detail |
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
getIdentification
public int getIdentification()
getQRType
public java.lang.String getQRType()
getOpcodeType
public java.lang.String getOpcodeType()
getInfoTree
public javax.swing.tree.DefaultMutableTreeNode getInfoTree()
|
|||||||||
| Home >> All >> [ HeaderF overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC