| Modifier and Type | Field and Description |
|---|---|
| private final DnsRecordEncoder |
| Access | Constructor and Description |
|---|---|
| pack-priv | DnsQueryEncoder(DnsRecordEncoder recordEncoder)
Creates a new encoder with the specified |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| private static void | encodeHeader(DnsQuery
the query header being encoded query, ByteBuf the buffer the encoded data should be written to buf)Encodes the header that is always 12 bytes long. |
| private void | |
| private void |
| recordEncoder | back to summary |
|---|---|
| private final DnsRecordEncoder recordEncoder | |
| DnsQueryEncoder | back to summary |
|---|---|
| pack-priv DnsQueryEncoder(DnsRecordEncoder recordEncoder) Creates a new encoder with the specified | |
| encode | back to summary |
|---|---|
| pack-priv void encode(DnsQuery query, ByteBuf out) throws Exception | |
| encodeHeader | back to summary |
|---|---|
| private static void encodeHeader(DnsQuery query, ByteBuf buf) Encodes the header that is always 12 bytes long. | |
| encodeQuestions | back to summary |
|---|---|
| private void encodeQuestions(DnsQuery query, ByteBuf buf) throws Exception | |
| encodeRecords | back to summary |
|---|---|
| private void encodeRecords(DnsQuery query, DnsSection section, ByteBuf buf) throws Exception | |