public final class MqttMessageDecoderUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
checkFixedHeaderFlags(int expected,
int actual) |
static void |
checkRemainingLength(int expected,
int actual) |
static int |
decodePublishPacketIdentifier(@NotNull MqttQos qos,
@NotNull io.netty.buffer.ByteBuf in) |
static @NotNull MqttQos |
decodePublishQos(int flags,
boolean dup) |
static @NotNull MqttDecoderException |
malformedTopic() |
static @NotNull MqttDecoderException |
malformedUTF8String(@NotNull java.lang.String name) |
static @NotNull MqttDecoderException |
remainingLengthTooShort() |
public static void checkFixedHeaderFlags(int expected, int actual) throws MqttDecoderException
MqttDecoderException
public static void checkRemainingLength(int expected, int actual) throws MqttDecoderException
MqttDecoderException
@NotNull public static @NotNull MqttDecoderException remainingLengthTooShort()
@NotNull public static @NotNull MqttDecoderException malformedUTF8String(@NotNull @NotNull java.lang.String name)
@NotNull public static @NotNull MqttDecoderException malformedTopic()
@NotNull public static @NotNull MqttQos decodePublishQos(int flags, boolean dup) throws MqttDecoderException
MqttDecoderException
public static int decodePublishPacketIdentifier(@NotNull @NotNull MqttQos qos, @NotNull @NotNull io.netty.buffer.ByteBuf in) throws MqttDecoderException
MqttDecoderException