public class NettyDecoderHandler
extends io.netty.channel.ChannelInboundHandlerAdapter
| Constructor and Description |
|---|
NettyDecoderHandler(Player p,
PacketDirection direction,
Version version) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object obj) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
NegativityPlayer |
getNegativityPlayer() |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic NettyDecoderHandler(Player p, PacketDirection direction, Version version)
public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterExceptionpublic NegativityPlayer getNegativityPlayer()