org.apache.directory.server.dns.io.encoder
Class DnsMessageEncoder
java.lang.Object
org.apache.directory.server.dns.io.encoder.DnsMessageEncoder
public class DnsMessageEncoder
- extends Object
An encoder for DNS messages. The primary usage of the DnsMessageEncoder is
to call the encode(ByteBuffer, DnsMessage) method which will
write the message to the outgoing ByteBuffer according to the DnsMessage
encoding in RFC-1035.
- Author:
- Apache Directory Project
|
Method Summary |
void |
encode(org.apache.mina.core.buffer.IoBuffer byteBuffer,
DnsMessage message)
Encodes the DnsMessage into the IoBuffer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DnsMessageEncoder
public DnsMessageEncoder()
encode
public void encode(org.apache.mina.core.buffer.IoBuffer byteBuffer,
DnsMessage message)
- Encodes the
DnsMessage into the IoBuffer.
- Parameters:
byteBuffer - message -
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.