public class VPHEncodeHandler
extends io.netty.handler.codec.MessageToMessageEncoder<io.netty.buffer.ByteBuf>
| Modifier and Type | Field and Description |
|---|---|
protected com.viaversion.viaversion.api.connection.UserConnection |
user |
| Constructor and Description |
|---|
VPHEncodeHandler(com.viaversion.viaversion.api.connection.UserConnection user) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encode(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) |
acceptOutboundMessage, writebind, close, connect, deregister, disconnect, flush, readhandlerAdded, handlerRemoved, isSharablepublic VPHEncodeHandler(com.viaversion.viaversion.api.connection.UserConnection user)
protected void encode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf bytebuf,
java.util.List<java.lang.Object> out)
throws java.lang.Exception
encode in class io.netty.handler.codec.MessageToMessageEncoder<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 class io.netty.channel.ChannelHandlerAdapterjava.lang.Exception