Class VarInt32FrameDecoder

java.lang.Object
io.netty5.channel.ChannelHandlerAdapter
io.netty5.handler.codec.ByteToMessageDecoder
eu.cloudnetservice.driver.impl.network.netty.codec.VarInt32FrameDecoder
All Implemented Interfaces:
io.netty5.channel.ChannelHandler

public final class VarInt32FrameDecoder extends io.netty5.handler.codec.ByteToMessageDecoder
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.netty5.handler.codec.ByteToMessageDecoder

    io.netty5.handler.codec.ByteToMessageDecoder.Cumulator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final org.slf4j.Logger
     

    Fields inherited from class io.netty5.handler.codec.ByteToMessageDecoder

    COMPOSITE_CUMULATOR, MERGE_CUMULATOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    decode(@NonNull io.netty5.channel.ChannelHandlerContext ctx, @NonNull io.netty5.buffer.Buffer in)

    Methods inherited from class io.netty5.handler.codec.ByteToMessageDecoder

    actualReadableBytes, channelInactive, channelRead, channelReadComplete, channelShutdown, decodeLast, discardSomeReadBytes, handlerAdded, handlerAdded0, handlerRemoved, handlerRemoved0, internalBuffer, isSharable, isSingleDecode, setSingleDecode

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.netty5.channel.ChannelHandler

    bind, channelActive, channelExceptionCaught, channelInboundEvent, channelRegistered, channelUnregistered, channelWritabilityChanged, close, connect, deregister, disconnect, flush, pendingOutboundBytes, read, register, sendOutboundEvent, shutdown, write
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
  • Constructor Details

    • VarInt32FrameDecoder

      public VarInt32FrameDecoder()
  • Method Details

    • decode

      protected void decode(@NonNull @NonNull io.netty5.channel.ChannelHandlerContext ctx, @NonNull @NonNull io.netty5.buffer.Buffer in)
      Specified by:
      decode in class io.netty5.handler.codec.ByteToMessageDecoder