Package net.minecraft.network.handler
Class SplitterHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.handler.codec.ByteToMessageDecoder
net.minecraft.network.handler.SplitterHandler
- All Implemented Interfaces:
ChannelHandler,ChannelInboundHandler
- Mappings:
Namespace Name official syintermediary net/minecraft/class_2550named net/minecraft/network/handler/SplitterHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class io.netty.handler.codec.ByteToMessageDecoder
ByteToMessageDecoder.CumulatorNested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final @Nullable class_8762private static final intprivate final ByteBufFields inherited from class io.netty.handler.codec.ByteToMessageDecoder
COMPOSITE_CUMULATOR, MERGE_CUMULATOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddecode(ChannelHandlerContext ctx, ByteBuf buf, List<Object> list) protected voidhandlerRemoved0(ChannelHandlerContext context) private static booleanshouldSplit(ByteBuf source, ByteBuf sizeBuf) Methods inherited from class io.netty.handler.codec.ByteToMessageDecoder
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredMethods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtMethods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, 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
-
Field Details
-
LENGTH_BYTES
private static final int LENGTH_BYTES- See Also:
- Mappings:
Namespace Name Mixin selector official aLsy;a:Iintermediary field_45690Lnet/minecraft/class_2550;field_45690:Inamed LENGTH_BYTESLnet/minecraft/network/handler/SplitterHandler;LENGTH_BYTES:I
-
reusableBuf
- Mappings:
Namespace Name Mixin selector official bLsy;b:Lio/netty/buffer/ByteBuf;intermediary field_45691Lnet/minecraft/class_2550;field_45691:Lio/netty/buffer/ByteBuf;named reusableBufLnet/minecraft/network/handler/SplitterHandler;reusableBuf:Lio/netty/buffer/ByteBuf;
-
field_45956
- Mappings:
Namespace Name Mixin selector official cLsy;c:Lry;intermediary field_45956Lnet/minecraft/class_2550;field_45956:Lnet/minecraft/class_8762;named field_45956Lnet/minecraft/network/handler/SplitterHandler;field_45956:Lnet/minecraft/class_8762;
-
-
Constructor Details
-
SplitterHandler
-
-
Method Details
-
handlerRemoved0
- Overrides:
handlerRemoved0in classByteToMessageDecoder- Mappings:
Namespace Name Mixin selector official handlerRemoved0Lsy;handlerRemoved0(Lio/netty/channel/ChannelHandlerContext;)Vintermediary handlerRemoved0Lnet/minecraft/class_2550;handlerRemoved0(Lio/netty/channel/ChannelHandlerContext;)Vnamed handlerRemoved0Lnet/minecraft/network/handler/SplitterHandler;handlerRemoved0(Lio/netty/channel/ChannelHandlerContext;)V
-
shouldSplit
- Mappings:
Namespace Name Mixin selector official aLsy;a(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)Zintermediary method_53022Lnet/minecraft/class_2550;method_53022(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)Znamed shouldSplitLnet/minecraft/network/handler/SplitterHandler;shouldSplit(Lio/netty/buffer/ByteBuf;Lio/netty/buffer/ByteBuf;)Z
-
decode
- Specified by:
decodein classByteToMessageDecoder- Mappings:
Namespace Name Mixin selector official decodeLsy;decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)Vintermediary decodeLnet/minecraft/class_2550;decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)Vnamed decodeLnet/minecraft/network/handler/SplitterHandler;decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
-