|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.act365.net.dns.DNSReader
Reads DNS messages from bytestreams.
Constructor Summary | |
DNSReader(int headerLength)
Constructs a parser to decode DNS bytestreams. |
Method Summary | |
DNSMessage |
read(byte[] buffer)
Reads all of the information from a DNS response. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DNSReader(int headerLength)
headerLength
- length of the transport header, e.g. 8 for UDP or 20 for TCPMethod Detail |
public DNSMessage read(byte[] buffer) throws java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |