R
- the type of the Reason Code.public abstract static class MqttMessageWithUserProperties.WithReason.WithCode<R extends Mqtt5ReasonCode> extends MqttMessageWithUserProperties.WithReason
Modifier and Type | Class and Description |
---|---|
static class |
MqttMessageWithUserProperties.WithReason.WithCode.WithId<R extends Mqtt5ReasonCode>
Base class for MQTT messages with a Packet Identifier, a Reason Code, an optional Reason String and
optional User Properties.
|
MqttMessageWithUserProperties.WithReason.WithCode<R extends Mqtt5ReasonCode>, MqttMessageWithUserProperties.WithReason.WithCodesAndId<R extends Mqtt5ReasonCode>
MqttMessageWithUserProperties.WithReason
MqttMessage.WithUserProperties
Modifier | Constructor and Description |
---|---|
protected |
WithCode(R reasonCode,
@Nullable MqttUtf8StringImpl reasonString,
@NotNull MqttUserPropertiesImpl userProperties) |
Modifier and Type | Method and Description |
---|---|
R |
getReasonCode() |
getRawReasonString, getReasonString, toAttributeString
getUserProperties
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getType
protected WithCode(@NotNull R reasonCode, @Nullable @Nullable MqttUtf8StringImpl reasonString, @NotNull @NotNull MqttUserPropertiesImpl userProperties)
@NotNull public R getReasonCode()