@UnstableApi public class DefaultDnsRecordEncoder extends java.lang.Object implements DnsRecordEncoder
DnsRecordEncoder
implementation.DefaultDnsRecordDecoder
DEFAULT
Modifier | Constructor and Description |
---|---|
protected |
DefaultDnsRecordEncoder()
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
protected void |
encodeName(java.lang.String name,
ByteBuf buf) |
void |
encodeQuestion(DnsQuestion question,
ByteBuf out)
Encodes a
DnsQuestion . |
void |
encodeRecord(DnsRecord record,
ByteBuf out)
Encodes a
DnsRecord . |
protected DefaultDnsRecordEncoder()
public final void encodeQuestion(DnsQuestion question, ByteBuf out) throws java.lang.Exception
DnsRecordEncoder
DnsQuestion
.encodeQuestion
in interface DnsRecordEncoder
out
- the output buffer where the encoded question will be written tojava.lang.Exception
public void encodeRecord(DnsRecord record, ByteBuf out) throws java.lang.Exception
DnsRecordEncoder
DnsRecord
.encodeRecord
in interface DnsRecordEncoder
out
- the output buffer where the encoded record will be written tojava.lang.Exception
protected void encodeName(java.lang.String name, ByteBuf buf) throws java.lang.Exception
java.lang.Exception
Copyright © 2008–2019 The Netty Project. All rights reserved.