public class SpongeDecodeHandler
extends io.netty.handler.codec.ByteToMessageDecoder
Constructor and Description |
---|
SpongeDecodeHandler(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, setSingleDecode
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerAdded, isSharable
public SpongeDecodeHandler(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.ByteToMessageDecoder
Exception
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
Copyright © 2016–2021. All rights reserved.