Package net.minecraft.network.encryption
Class PacketDecryptor
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.handler.codec.MessageToMessageDecoder<ByteBuf>
net.minecraft.network.encryption.PacketDecryptor
- All Implemented Interfaces:
ChannelHandler
,ChannelInboundHandler
public class PacketDecryptor extends MessageToMessageDecoder<ByteBuf>
- Mappings:
Namespace Name official nq
intermediary net/minecraft/class_2528
named net/minecraft/network/encryption/PacketDecryptor
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
ChannelHandler.Sharable
-
Field Summary
Fields Modifier and Type Field Description private PacketEncryptionManager
manager
-
Constructor Summary
Constructors Constructor Description PacketDecryptor(Cipher cipher)
-
Method Summary
Modifier and Type Method Description protected void
decode(ChannelHandlerContext channelHandlerContext, ByteBuf byteBuf, List<Object> list)
Methods inherited from class io.netty.handler.codec.MessageToMessageDecoder
acceptInboundMessage, channelRead
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, 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, handlerRemoved
-
Field Details
-
manager
- Mappings:
Namespace Name Mixin selector official a
Lnq;a:Lnp;
intermediary field_11619
Lnet/minecraft/class_2528;field_11619:Lnet/minecraft/class_2524;
named manager
Lnet/minecraft/network/encryption/PacketDecryptor;manager:Lnet/minecraft/network/encryption/PacketEncryptionManager;
-
-
Constructor Details
-
PacketDecryptor
-
-
Method Details
-
decode
protected void decode(ChannelHandlerContext channelHandlerContext, ByteBuf byteBuf, List<Object> list) throws Exception- Specified by:
decode
in classMessageToMessageDecoder<ByteBuf>
- Throws:
Exception
- Mappings:
Namespace Name Mixin selector official a
Lnq;a(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
intermediary method_10735
Lnet/minecraft/class_2528;method_10735(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
named decode
Lnet/minecraft/network/encryption/PacketDecryptor;decode(Lio/netty/channel/ChannelHandlerContext;Lio/netty/buffer/ByteBuf;Ljava/util/List;)V
-