-
- All Known Implementing Classes:
DefaultDnsRecordEncoder
@UnstableApi public interface DnsRecordEncoder
Encodes aDnsRecord
into binary representation.- See Also:
DatagramDnsQueryEncoder
-
-
Field Summary
Fields Modifier and Type Field Description static DnsRecordEncoder
DEFAULT
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
encodeQuestion(DnsQuestion question, Buffer out)
Encodes aDnsQuestion
.void
encodeRecord(DnsRecord record, Buffer out)
Encodes aDnsRecord
.
-
-
-
Field Detail
-
DEFAULT
static final DnsRecordEncoder DEFAULT
-
-
Method Detail
-
encodeQuestion
void encodeQuestion(DnsQuestion question, Buffer out) throws Exception
Encodes aDnsQuestion
.- Parameters:
out
- the output buffer where the encoded question will be written to- Throws:
Exception
-
-