public class NettyEncoderHandler
extends io.netty.channel.ChannelOutboundHandlerAdapter
| Constructor and Description |
|---|
NettyEncoderHandler(Player p,
PacketDirection direction,
Version version) |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
NegativityPlayer |
getNegativityPlayer() |
void |
write(io.netty.channel.ChannelHandlerContext ctx,
Object obj,
io.netty.channel.ChannelPromise promise) |
bind, close, connect, deregister, disconnect, flush, readensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic NettyEncoderHandler(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 class io.netty.channel.ChannelHandlerAdapterExceptionpublic NegativityPlayer getNegativityPlayer()
public void write(io.netty.channel.ChannelHandlerContext ctx,
Object obj,
io.netty.channel.ChannelPromise promise)
throws Exception
write in interface io.netty.channel.ChannelOutboundHandlerwrite in class io.netty.channel.ChannelOutboundHandlerAdapterException