public final class TcpDnsQueryDecoder
extends io.netty.handler.codec.LengthFieldBasedFrameDecoder
| Constructor and Description |
|---|
TcpDnsQueryDecoder()
Creates a new decoder with the default record decoder.
|
TcpDnsQueryDecoder(DnsRecordDecoder decoder,
int maxFrameLength)
Creates a new decoder with the specified
decoder. |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in) |
decode, extractFrame, getUnadjustedFrameLengthactualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtensureNotSharable, handlerAdded, isSharablepublic TcpDnsQueryDecoder()
public TcpDnsQueryDecoder(DnsRecordDecoder decoder, int maxFrameLength)
decoder.Copyright © 2008–2025 The Netty Project. All rights reserved.