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, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public 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.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
public NegativityPlayer getNegativityPlayer()