| Modifier and Type | Field and Description |
|---|---|
| private final DnsRecordDecoder |
| Access | Constructor and Description |
|---|---|
| public | |
| public | TcpDnsQueryDecoder(DnsRecordDecoder decoder, int maxFrameLength)
Creates a new decoder with the specified |
| Modifier and Type | Method and Description |
|---|---|
| protected Object | decode(ChannelHandlerContext
the ctx, ByteBuf ChannelHandlerContext which this ByteToMessageDecoder belongs tothe in)ByteBuf from which to read dataOverrides io. ByteBuf and return it.
|
| decoder | back to summary |
|---|---|
| private final DnsRecordDecoder decoder | |
| TcpDnsQueryDecoder | back to summary |
|---|---|
| public TcpDnsQueryDecoder() Creates a new decoder with the default record decoder. | |
| TcpDnsQueryDecoder | back to summary |
|---|---|
| public TcpDnsQueryDecoder(DnsRecordDecoder decoder, int maxFrameLength) Creates a new decoder with the specified | |
| decode | back to summary |
|---|---|
| protected Object decode(ChannelHandlerContext ctx, ByteBuf in) throws Exception Overrides io. Doc from io. Create a frame out of the
| |