public class VPHDecodeHandler
extends io.netty.handler.codec.MessageToMessageDecoder<io.netty.buffer.ByteBuf>
| Modifier and Type | Field and Description |
|---|---|
protected com.viaversion.viaversion.api.connection.UserConnection |
user |
| Constructor and Description |
|---|
VPHDecodeHandler(com.viaversion.viaversion.api.connection.UserConnection user) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf bytebuf,
java.util.List<java.lang.Object> out) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Throwable cause) |
acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggeredhandlerAdded, handlerRemoved, isSharablepublic VPHDecodeHandler(com.viaversion.viaversion.api.connection.UserConnection user)
protected void decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf bytebuf,
java.util.List<java.lang.Object> out)
throws java.lang.Exception
decode in class io.netty.handler.codec.MessageToMessageDecoder<io.netty.buffer.ByteBuf>java.lang.Exceptionpublic void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
java.lang.Throwable cause)
throws java.lang.Exception
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in interface io.netty.channel.ChannelInboundHandlerexceptionCaught in class io.netty.channel.ChannelInboundHandlerAdapterjava.lang.Exception