public interface HeaderDecoder
Modifier and Type | Field and Description |
---|---|
static int |
HEADER_LENGTH |
static int |
HEADER_LENGTH_INDEX |
static long |
PROTOCOL_VERSION |
Modifier and Type | Method and Description |
---|---|
default int |
getMessageLength(io.netty.buffer.ByteBuf buffer,
int maxMessageLength)
Get the message length from a
ByteBuf containing a TcpMessageEncoder . |
static final long PROTOCOL_VERSION
static final int HEADER_LENGTH
static final int HEADER_LENGTH_INDEX
default int getMessageLength(io.netty.buffer.ByteBuf buffer, int maxMessageLength) throws UaException
ByteBuf
containing a TcpMessageEncoder
. The reader index will not
be advanced.buffer
- ByteBuf
to extract from.UaException
Copyright © 2020. All rights reserved.