| Modifier and Type | Field and Description |
|---|---|
| private final DnsRecordEncoder |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | encode(ChannelHandlerContext
the ctx, DnsResponse ChannelHandlerContext which this MessageToMessageEncoder belongs tothe message to encode to an other one response, List<Object> the out)List into which the encoded msg should be added
needs to do some kind of aggregationImplements abstract io. |
| encoder | back to summary |
|---|---|
| private final DnsRecordEncoder encoder | |
| TcpDnsResponseEncoder | back to summary |
|---|---|
| public TcpDnsResponseEncoder() Creates a new encoder with the default record encoder. | |
| TcpDnsResponseEncoder | back to summary |
|---|---|
| public TcpDnsResponseEncoder(DnsRecordEncoder encoder) Creates a new encoder with the specified | |
| encode | back to summary |
|---|---|
| protected void encode(ChannelHandlerContext ctx, DnsResponse response, List<Object> out) throws Exception Implements abstract io. Doc from io. Encode from one message to an other. This method will be called for each written message that can be handled by this encoder.
| |