All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.vertx.mqtt.messages.codes.MqttUnsubAckReasonCode Maven / Gradle / Ivy

There is a newer version: 5.0.0.CR1
Show newest version
package io.vertx.mqtt.messages.codes;

/**
 * Reason codes for UNSUBACK MQTT message
 */
public enum MqttUnsubAckReasonCode implements MqttReasonCode {
    SUCCESS((byte)0x0),
    NO_SUBSCRIPTION_EXISTED((byte)0x11),
    UNSPECIFIED_ERROR((byte)0x80),
    IMPLEMENTATION_SPECIFIC_ERROR((byte)0x83),
    NOT_AUTHORIZED((byte)0x87),
    TOPIC_FILTER_INVALID((byte)0x8F),
    PACKET_IDENTIFIER_IN_USE((byte)0x91);

    MqttUnsubAckReasonCode(byte byteValue) {
        this.byteValue = byteValue;
    }

    private final byte byteValue;

    public byte value() {
        return byteValue;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy