Package net.minecraft.network
Class LegacyQueryHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
net.minecraft.network.LegacyQueryHandler
- All Implemented Interfaces:
ChannelHandler,ChannelInboundHandler
public class LegacyQueryHandler extends ChannelInboundHandlerAdapter
- Mappings:
Namespace Name official ljintermediary net/minecraft/class_1640named net/minecraft/network/LegacyQueryHandler
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable -
Field Summary
Fields Modifier and Type Field Description private ServerNetworkIofield_6700private static LoggerLOGGER -
Constructor Summary
Constructors Constructor Description LegacyQueryHandler(ServerNetworkIo serverNetworkIo) -
Method Summary
Modifier and Type Method Description voidchannelRead(ChannelHandlerContext channelHandlerContext, Object object)private voidreply(ChannelHandlerContext ctx, ByteBuf buf)private ByteBuftoBuffer(String s)Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredMethods inherited from class io.netty.channel.ChannelHandlerAdapter
handlerAdded, handlerRemoved, isSharableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official aLlj;a:Lorg/apache/logging/log4j/Logger;intermediary field_6699Lnet/minecraft/class_1640;field_6699:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/network/LegacyQueryHandler;LOGGER:Lorg/apache/logging/log4j/Logger;
-
field_6700
- Mappings:
Namespace Name Mixin selector official bLlj;b:Lll;intermediary field_6700Lnet/minecraft/class_1640;field_6700:Lnet/minecraft/class_1642;named field_6700Lnet/minecraft/network/LegacyQueryHandler;field_6700:Lnet/minecraft/server/ServerNetworkIo;
-
-
Constructor Details
-
LegacyQueryHandler
-
-
Method Details
-
channelRead
public void channelRead(ChannelHandlerContext channelHandlerContext, Object object) throws Exception- Specified by:
channelReadin interfaceChannelInboundHandler- Overrides:
channelReadin classChannelInboundHandlerAdapter- Throws:
Exception- Mappings:
Namespace Name Mixin selector official channelReadLlj;channelRead(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)Vintermediary channelReadLnet/minecraft/class_1640;channelRead(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)Vnamed channelReadLnet/minecraft/network/LegacyQueryHandler;channelRead(Lio/netty/channel/ChannelHandlerContext;Ljava/lang/Object;)V
-
reply
- Mappings:
Namespace Name Mixin selector official aLlj;a(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)Vintermediary method_6111Lnet/minecraft/class_1640;method_6111(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)Vnamed replyLnet/minecraft/network/LegacyQueryHandler;reply(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;)V
-
toBuffer
- Mappings:
Namespace Name Mixin selector official aLlj;a(Ljava/lang/String;)Lio/netty/buffer/ByteBuf;intermediary method_6112Lnet/minecraft/class_1640;method_6112(Ljava/lang/String;)Lio/netty/buffer/ByteBuf;named toBufferLnet/minecraft/network/LegacyQueryHandler;toBuffer(Ljava/lang/String;)Lio/netty/buffer/ByteBuf;
-