@Immutable public class MqttPubComp extends MqttMessageWithUserProperties.WithReason.WithCode.WithId<Mqtt5PubCompReasonCode> implements Mqtt5PubComp
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 and Type | Field and Description |
---|---|
static @NotNull Mqtt5PubCompReasonCode |
DEFAULT_REASON_CODE |
Constructor and Description |
---|
MqttPubComp(int packetIdentifier,
@NotNull Mqtt5PubCompReasonCode reasonCode,
@Nullable MqttUtf8StringImpl reasonString,
@NotNull MqttUserPropertiesImpl userProperties) |
Modifier and Type | Method and Description |
---|---|
@NotNull java.lang.String |
toString() |
getPacketIdentifier, toAttributeString
getReasonCode
getRawReasonString, getReasonString
getUserProperties
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getReasonCode, getReasonString, getType, getUserProperties
@NotNull public static final @NotNull Mqtt5PubCompReasonCode DEFAULT_REASON_CODE
public MqttPubComp(int packetIdentifier, @NotNull @NotNull Mqtt5PubCompReasonCode reasonCode, @Nullable @Nullable MqttUtf8StringImpl reasonString, @NotNull @NotNull MqttUserPropertiesImpl userProperties)