| Modifier and Type | Field and Description |
|---|---|
| private final DnsQueryEncoder |
| Access | Constructor and Description |
|---|---|
| public | |
| public | DatagramDnsQueryEncoder(DnsRecordEncoder recordEncoder)
Creates a new encoder with the specified |
| Modifier and Type | Method and Description |
|---|---|
| protected ByteBuf | allocateBuffer(ChannelHandlerContext ctx, AddressedEnvelope<DnsQuery, InetSocketAddress> msg)
Allocate a |
| protected void | encode(ChannelHandlerContext
the ctx, AddressedEnvelope<DnsQuery, InetSocketAddress> ChannelHandlerContext which this MessageToMessageEncoder belongs tothe message to encode to an other one in, 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 DnsQueryEncoder encoder | |
| DatagramDnsQueryEncoder | back to summary |
|---|---|
| public DatagramDnsQueryEncoder() Creates a new encoder with the default record encoder. | |
| DatagramDnsQueryEncoder | back to summary |
|---|---|
| public DatagramDnsQueryEncoder(DnsRecordEncoder recordEncoder) Creates a new encoder with the specified | |
| allocateBuffer | back to summary |
|---|---|
| protected ByteBuf allocateBuffer(ChannelHandlerContext ctx, AddressedEnvelope<DnsQuery, InetSocketAddress> msg) throws Exception Allocate a | |
| encode | back to summary |
|---|---|
| protected void encode(ChannelHandlerContext ctx, AddressedEnvelope<DnsQuery, InetSocketAddress> in, 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.
| |