Class ServerConnectionInitializer

java.lang.Object
io.github.retrooper.packetevents.injector.ServerConnectionInitializer

public class ServerConnectionInitializer extends Object
  • Constructor Details

    • ServerConnectionInitializer

      public ServerConnectionInitializer()
  • Method Details

    • addChannelHandlers

      public static void addChannelHandlers(io.netty.channel.Channel channel, PacketEventsDecoder decoder, PacketEventsEncoder encoder)
    • initChannel

      public static void initChannel(io.netty.channel.Channel channel, com.github.retrooper.packetevents.protocol.ConnectionState state)
    • destroyChannel

      public static void destroyChannel(io.netty.channel.Channel channel)