public class BukkitEncodeHandler extends io.netty.handler.codec.MessageToByteEncoder implements ViaHandler
| Constructor and Description |
|---|
BukkitEncodeHandler(UserConnection info,
io.netty.handler.codec.MessageToByteEncoder minecraftEncoder) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
Object o,
io.netty.buffer.ByteBuf bytebuf) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
transform(io.netty.buffer.ByteBuf bytebuf) |
acceptOutboundMessage, writebind, close, connect, deregister, disconnect, flush, readensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic BukkitEncodeHandler(UserConnection info, io.netty.handler.codec.MessageToByteEncoder minecraftEncoder)
protected void encode(io.netty.channel.ChannelHandlerContext ctx,
Object o,
io.netty.buffer.ByteBuf bytebuf)
throws Exception
encode in class io.netty.handler.codec.MessageToByteEncoderExceptionpublic void transform(io.netty.buffer.ByteBuf bytebuf)
throws Exception
transform in interface ViaHandlerExceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
throws Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface ViaHandlerexceptionCaught in class io.netty.channel.ChannelHandlerAdapterExceptionCopyright © 2016–2021. All rights reserved.