Package io.netty.handler.codec.dns
Interface DnsRecordEncoder
- All Known Implementing Classes:
DefaultDnsRecordEncoder
public interface DnsRecordEncoder
Encodes a
DnsRecord
into binary representation.- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoid
encodeQuestion
(DnsQuestion question, ByteBuf out) Encodes aDnsQuestion
.void
encodeRecord
(DnsRecord record, ByteBuf out) Encodes aDnsRecord
.
-
Field Details
-
DEFAULT
-
-
Method Details
-
encodeQuestion
Encodes aDnsQuestion
.- Parameters:
out
- the output buffer where the encoded question will be written to- Throws:
Exception
-
encodeRecord
Encodes aDnsRecord
.- Parameters:
out
- the output buffer where the encoded record will be written to- Throws:
Exception
-