public class BukkitDecodeHandler
extends io.netty.handler.codec.ByteToMessageDecoder
| Constructor and Description |
|---|
BukkitDecodeHandler(UserConnection info,
io.netty.handler.codec.ByteToMessageDecoder minecraftDecoder) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf bytebuf,
List<Object> list) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
actualReadableBytes, callDecode, channelInactive, channelRead, channelReadComplete, decodeLast, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setSingleDecodechannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredensureNotSharable, handlerAdded, isSharablepublic BukkitDecodeHandler(UserConnection info, io.netty.handler.codec.ByteToMessageDecoder minecraftDecoder)
protected void decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf bytebuf,
List<Object> list)
throws Exception
decode in class io.netty.handler.codec.ByteToMessageDecoderExceptionpublic 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.ChannelInboundHandlerAdapterExceptionCopyright © 2016–2021. All rights reserved.