public class DnsMessageDecoder extends Object
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 and Description |
|---|
DnsMessageDecoder() |
| Modifier and Type | Method and Description |
|---|---|
DnsMessage |
decode(org.apache.mina.core.buffer.IoBuffer in)
Decode the
IoBuffer into a DnsMessage. |
public DnsMessage decode(org.apache.mina.core.buffer.IoBuffer in) throws IOException
IoBuffer into a DnsMessage.in - DnsMessage.IOExceptionCopyright © 2003–2017 The Apache Software Foundation. All rights reserved.