@UnstableApi public class DefaultDnsRecordEncoder extends java.lang.Object implements DnsRecordEncoder
DnsRecordEncoder
实现。
DefaultDnsRecordDecoder
DEFAULT
Modifier | Constructor and Description |
---|---|
protected |
DefaultDnsRecordEncoder()
创建一个新的实例。
|
Modifier and Type | Method and Description |
---|---|
protected void |
encodeName(java.lang.String name, ByteBuf buf) |
void |
encodeQuestion(DnsQuestion question, ByteBuf out)
编码 DnsQuestion 。
|
void |
encodeRecord(DnsRecord record, ByteBuf out)
编码 DnsRecord 。
|
public final void encodeQuestion(DnsQuestion question, ByteBuf out) throws java.lang.Exception
DnsRecordEncoder
DnsQuestion
。
encodeQuestion
,界面
DnsRecordEncoder
out
- 编码问题将被写入的输出缓冲区
java.lang.Exception
public void encodeRecord(DnsRecord record, ByteBuf out) throws java.lang.Exception
DnsRecordEncoder
DnsRecord
。
encodeRecord
在界面
DnsRecordEncoder
out
- 编码记录将写入的输出缓冲区
java.lang.Exception
protected void encodeName(java.lang.String name, ByteBuf buf) throws java.lang.Exception
java.lang.Exception
Copyright © 2008–2018 The Netty Project. All rights reserved.