public class PacketDecoder extends ByteToMessageDecoder
Class PacketDecoder. Provides packetdecoder functionality for the Hytale server.
java.lang.Object > ByteToMessageDecoder > PacketDecoder
Field Summary
payloadLength
final
int
payloadLength
Field payloadLength.
packetId
final
int
packetId
Field packetId.
packetInfo
final
PacketRegistry.PacketInfo
packetInfo
Field packetInfo.
Method Detail
decode
protected
void
decode
(@Nonnull final ChannelHandlerContext ctx, @Nonnull final ByteBuf in, @Nonnull final List out)
Method decode.
- Parameters:
@Nonnull final ChannelHandlerContextctx@Nonnull final ByteBufin@Nonnull final Listout