public class RconCodec extends io.netty.handler.codec.ByteToMessageCodec<RconMessage>
| Constructor and Description |
|---|
RconCodec() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext channelHandlerContext,
io.netty.buffer.ByteBuf byteBuf,
List<Object> list) |
protected void |
encode(io.netty.channel.ChannelHandlerContext channelHandlerContext,
RconMessage rconMessage,
io.netty.buffer.ByteBuf byteBuf) |
acceptOutboundMessage, channelInactive, channelRead, channelReadComplete, decodeLast, handlerAdded, handlerRemoved, writebind, close, connect, deregister, disconnect, flush, readchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredprotected void encode(io.netty.channel.ChannelHandlerContext channelHandlerContext,
RconMessage rconMessage,
io.netty.buffer.ByteBuf byteBuf)
throws Exception
encode in class io.netty.handler.codec.ByteToMessageCodec<RconMessage>Exceptionprotected void decode(io.netty.channel.ChannelHandlerContext channelHandlerContext,
io.netty.buffer.ByteBuf byteBuf,
List<Object> list)
throws Exception
decode in class io.netty.handler.codec.ByteToMessageCodec<RconMessage>ExceptionCopyright © 2018–2019. All rights reserved.