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