Package net.minecraft.network.handler
Class DecoderHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.handler.codec.ByteToMessageDecoder
net.minecraft.network.handler.DecoderHandler
- All Implemented Interfaces:
ChannelHandler
,ChannelInboundHandler
,NetworkStateTransitionHandler
- Mappings:
Namespace Name official sr
intermediary net/minecraft/class_2543
named net/minecraft/network/handler/DecoderHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class io.netty.handler.codec.ByteToMessageDecoder
ByteToMessageDecoder.Cumulator
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Logger
private final AttributeKey<NetworkState.PacketHandler<?>>
Fields inherited from class io.netty.handler.codec.ByteToMessageDecoder
COMPOSITE_CUMULATOR, MERGE_CUMULATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
decode
(ChannelHandlerContext ctx, ByteBuf buf, List<Object> objects) Methods inherited from class io.netty.handler.codec.ByteToMessageDecoder
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggered
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, isSharable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.netty.channel.ChannelHandler
handlerAdded
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official a
Lsr;a:Lorg/slf4j/Logger;
intermediary field_11715
Lnet/minecraft/class_2543;field_11715:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/network/handler/DecoderHandler;LOGGER:Lorg/slf4j/Logger;
-
protocolKey
- Mappings:
Namespace Name Mixin selector official b
Lsr;b:Lio/netty/util/AttributeKey;
intermediary field_45677
Lnet/minecraft/class_2543;field_45677:Lio/netty/util/AttributeKey;
named protocolKey
Lnet/minecraft/network/handler/DecoderHandler;protocolKey:Lio/netty/util/AttributeKey;
-
-
Constructor Details
-
DecoderHandler
- Mappings:
Namespace Name Mixin selector official <init>
Lsr;<init>(Lio/netty/util/AttributeKey;)V
intermediary <init>
Lnet/minecraft/class_2543;<init>(Lio/netty/util/AttributeKey;)V
named <init>
Lnet/minecraft/network/handler/DecoderHandler;<init>(Lio/netty/util/AttributeKey;)V
-
-
Method Details
-
decode
protected void decode(ChannelHandlerContext ctx, ByteBuf buf, List<Object> objects) throws Exception - Specified by:
decode
in classByteToMessageDecoder
- Throws:
Exception
- Mappings:
Namespace Name Mixin selector official decode
Lsr;decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
intermediary decode
Lnet/minecraft/class_2543;decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
named decode
Lnet/minecraft/network/handler/DecoderHandler;decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
-