| Modifier and Type | Field and Description |
|---|---|
| private final DnsResponseDecoder |
| Access | Constructor and Description |
|---|---|
| public | |
| public | TcpDnsResponseDecoder(DnsRecordDecoder recordDecoder, 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.
|
| protected ByteBuf | extractFrame(ChannelHandlerContext ctx, ByteBuf buffer, int index, int length)
Overrides io. |
| responseDecoder | back to summary |
|---|---|
| private final DnsResponseDecoder<SocketAddress> responseDecoder | |
| TcpDnsResponseDecoder | back to summary |
|---|---|
| public TcpDnsResponseDecoder() Creates a new decoder with the default record decoder. | |
| TcpDnsResponseDecoder | back to summary |
|---|---|
| public TcpDnsResponseDecoder(DnsRecordDecoder recordDecoder, 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
| |
| extractFrame | back to summary |
|---|---|
| protected ByteBuf extractFrame(ChannelHandlerContext ctx, ByteBuf buffer, int index, int length) Overrides io. Doc from io. Extract the sub-region of the specified buffer.
| |