|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.dns.io.decoder.DnsMessageDecoder
public class DnsMessageDecoder
A decoder for DNS messages. The primary usage of the DnsMessageDecoder is by
calling the decode(ByteBuffer)
method which will read the
message from the incoming ByteBuffer and build a DnsMessage
from it according to the DnsMessage encoding in RFC-1035.
Constructor Summary | |
---|---|
DnsMessageDecoder()
|
Method Summary | |
---|---|
DnsMessage |
decode(org.apache.mina.core.buffer.IoBuffer in)
Decode the ByteBuffer into a DnsMessage . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DnsMessageDecoder()
Method Detail |
---|
public DnsMessage decode(org.apache.mina.core.buffer.IoBuffer in) throws java.io.IOException
ByteBuffer
into a DnsMessage
.
in
-
DnsMessage
.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |