R
- the type of the Reason Code.public abstract static class MqttMessageWithUserProperties.WithReason.WithCode.WithId<R extends Mqtt5ReasonCode> extends MqttMessageWithUserProperties.WithReason.WithCode<R> implements MqttMessage.WithId
MqttMessageWithUserProperties.WithReason.WithCode.WithId<R extends Mqtt5ReasonCode>
MqttMessageWithUserProperties.WithReason.WithCode<R extends Mqtt5ReasonCode>, MqttMessageWithUserProperties.WithReason.WithCodesAndId<R extends Mqtt5ReasonCode>
MqttMessageWithUserProperties.WithReason
MqttMessage.WithId, MqttMessage.WithUserProperties
Modifier | Constructor and Description |
---|---|
protected |
WithId(int packetIdentifier,
R reasonCode,
@Nullable MqttUtf8StringImpl reasonString,
@NotNull MqttUserPropertiesImpl userProperties) |
Modifier and Type | Method and Description |
---|---|
int |
getPacketIdentifier() |
protected @NotNull java.lang.String |
toAttributeString() |
getReasonCode, partialEquals, partialHashCode
getRawReasonString, getReasonString, partialEquals
getUserProperties, partialEquals
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getType
protected WithId(int packetIdentifier, @NotNull R reasonCode, @Nullable @Nullable MqttUtf8StringImpl reasonString, @NotNull @NotNull MqttUserPropertiesImpl userProperties)
public int getPacketIdentifier()
getPacketIdentifier
in interface MqttMessage.WithId
@NotNull protected @NotNull java.lang.String toAttributeString()
toAttributeString
in class MqttMessageWithUserProperties.WithReason