@UnstableApi
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, getUnadjustedFrameLength
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
ensureNotSharable, handlerAdded, isSharable
public TcpDnsQueryDecoder()
public TcpDnsQueryDecoder(DnsRecordDecoder decoder, int maxFrameLength)
decoder
.Copyright © 2008–2021 The Netty Project. All rights reserved.