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