public class LegacyQueryHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
Modifier and Type | Field and Description |
---|---|
private static Logger |
LOGGER |
private ServerNetworkIo |
networkIo |
Constructor and Description |
---|
LegacyQueryHandler(ServerNetworkIo networkIo) |
Modifier and Type | Method and Description |
---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext channelHandlerContext,
Object object) |
private void |
reply(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf buf) |
private io.netty.buffer.ByteBuf |
toBuffer(String s) |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
private static final Logger LOGGER
private final ServerNetworkIo networkIo
public LegacyQueryHandler(ServerNetworkIo networkIo)
public void channelRead(io.netty.channel.ChannelHandlerContext channelHandlerContext, Object object) throws Exception
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
private void reply(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf buf)
private io.netty.buffer.ByteBuf toBuffer(String s)