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 ByteBuffer. |
public void encode(org.apache.mina.core.buffer.IoBuffer byteBuffer,
DnsMessage message)
DnsMessage into the ByteBuffer.byteBuffer - message - Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.