public class RtuModbusMessageDecoder
extends io.netty.handler.codec.ReplayingDecoder<net.solarnetwork.io.modbus.rtu.netty.RtuModbusMessageDecoder.DecoderState>
| Modifier and Type | Field and Description |
|---|---|
static int |
FIXED_HEADER_LENGTH
The length of the fixed-length header.
|
| Constructor and Description |
|---|
RtuModbusMessageDecoder(boolean controller)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in,
List<Object> out) |
callDecode, checkpoint, checkpoint, state, stateactualReadableBytes, channelInactive, channelRead, channelReadComplete, decodeLast, discardSomeReadBytes, handlerRemoved, handlerRemoved0, internalBuffer, isSingleDecode, setCumulator, setDiscardAfterReads, setSingleDecode, userEventTriggeredchannelActive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaughtensureNotSharable, handlerAdded, isSharablepublic static final int FIXED_HEADER_LENGTH