Class ViaFabricPlusDecoder

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.handler.codec.MessageToMessageDecoder<io.netty.buffer.ByteBuf>
com.viaversion.viaversion.platform.ViaDecodeHandler
com.viaversion.viafabricplus.protocoltranslator.netty.ViaFabricPlusDecoder
All Implemented Interfaces:
com.viaversion.viaversion.api.platform.ViaChannelHandler, io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

public final class ViaFabricPlusDecoder extends com.viaversion.viaversion.platform.ViaDecodeHandler
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler

    io.netty.channel.ChannelHandler.Sharable
  • Field Summary

    Fields inherited from class com.viaversion.viaversion.platform.ViaDecodeHandler

    connection, NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
    ViaFabricPlusDecoder(com.viaversion.viaversion.api.connection.UserConnection connection)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)
     

    Methods inherited from class com.viaversion.viaversion.platform.ViaDecodeHandler

    connection, decode, exceptionCaught, isSharable

    Methods inherited from class io.netty.handler.codec.MessageToMessageDecoder

    acceptInboundMessage, channelReadComplete

    Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter

    channelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered

    Methods inherited from class io.netty.channel.ChannelHandlerAdapter

    ensureNotSharable, handlerAdded, handlerRemoved

    Methods inherited from class Object

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

    Methods inherited from interface io.netty.channel.ChannelHandler

    handlerAdded, handlerRemoved
  • Constructor Details

    • ViaFabricPlusDecoder

      public ViaFabricPlusDecoder(com.viaversion.viaversion.api.connection.UserConnection connection)
  • Method Details

    • channelRead

      public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
      Specified by:
      channelRead in interface io.netty.channel.ChannelInboundHandler
      Overrides:
      channelRead in class io.netty.handler.codec.MessageToMessageDecoder<io.netty.buffer.ByteBuf>
      Throws:
      Exception