public class RconFramingHandler
extends io.netty.handler.codec.ByteToMessageCodec<io.netty.buffer.ByteBuf>
Constructor and Description |
---|
RconFramingHandler() |
Modifier and Type | Method and Description |
---|---|
void |
channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) |
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
List<Object> out) |
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf msg,
io.netty.buffer.ByteBuf out) |
acceptOutboundMessage, channelInactive, channelRead, decodeLast, handlerAdded, handlerRemoved, write
bind, close, connect, deregister, disconnect, flush, read
channelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
public void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) throws Exception
channelReadComplete
in interface io.netty.channel.ChannelInboundHandler
channelReadComplete
in class io.netty.handler.codec.ByteToMessageCodec<io.netty.buffer.ByteBuf>
Exception
protected void encode(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf msg, io.netty.buffer.ByteBuf out) throws Exception
encode
in class io.netty.handler.codec.ByteToMessageCodec<io.netty.buffer.ByteBuf>
Exception
Copyright © 2021. All rights reserved.