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
ByteBuffer into a DnsMessage . |
public DnsMessage decode(org.apache.mina.core.buffer.IoBuffer in) throws IOException
ByteBuffer
into a DnsMessage
.in
- DnsMessage
.IOException
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.