public class DnsMessageEncoder extends Object
encode(ByteBuffer, DnsMessage) method which will
write the message to the outgoing ByteBuffer according to the DnsMessage
encoding in RFC-1035.| Constructor and Description |
|---|
DnsMessageEncoder() |
| Modifier and Type | Method and Description |
|---|---|
void |
encode(org.apache.mina.core.buffer.IoBuffer byteBuffer,
DnsMessage message)
Encodes the
DnsMessage into the IoBuffer. |
public void encode(org.apache.mina.core.buffer.IoBuffer byteBuffer,
DnsMessage message)
DnsMessage into the IoBuffer.byteBuffer - message - Copyright © 2003–2017 The Apache Software Foundation. All rights reserved.