public class ModbusTcpDecoder extends CumulativeProtocolDecoder
| Constructor and Description |
|---|
ModbusTcpDecoder() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doDecode(IoSession session,
IoBuffer in,
ProtocolDecoderOutput out)
Implement this method to consume the specified cumulative buffer and
decode its content into message(s).
|
decode, disposefinishDecodeprotected boolean doDecode(IoSession session, IoBuffer in, ProtocolDecoderOutput out) throws Exception
CumulativeProtocolDecoderdoDecode in class CumulativeProtocolDecoderin - the cumulative bufferException - if cannot decode in.