Class ServerConnectionInitializer
java.lang.Object
io.github.retrooper.packetevents.injector.ServerConnectionInitializer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addChannelHandlers
(io.netty.channel.Channel channel, PacketEventsDecoder decoder, PacketEventsEncoder encoder) static void
destroyChannel
(io.netty.channel.Channel channel) static void
initChannel
(io.netty.channel.Channel channel, com.github.retrooper.packetevents.protocol.ConnectionState state)
-
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)
-