public class SourceRconPacketDecoder extends Object implements PacketDecoder<SourceRconPacket>
SourceRconPacketDecoder class.
Constructor and Description |
---|
SourceRconPacketDecoder(io.netty.channel.ChannelHandlerContext ctx,
boolean strict)
Constructor for SourceRconPacketDecoder.
|
public SourceRconPacketDecoder(io.netty.channel.ChannelHandlerContext ctx, boolean strict)
Constructor for SourceRconPacketDecoder.
ctx
- a ChannelHandlerContext
objectstrict
- a booleanpublic SourceRconPacket decode(io.netty.buffer.ByteBuf in) throws PacketDecodeException
decode.
decode
in interface PacketDecoder<SourceRconPacket>
in
- a ByteBuf
objectPacketDecodeException
- if any.Copyright © 2016–2024. All rights reserved.