io.vertx.mqtt.messages.codes.MqttReasonCode Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vertx-mqtt Show documentation
Show all versions of vertx-mqtt Show documentation
Vert.x MQTT reactive client and server
package io.vertx.mqtt.messages.codes;
/**
* Common interface for MQTT messages reason codes enums
*/
public interface MqttReasonCode {
byte value();
default boolean isError() {
return (value() & 0x80) != 0;
}
}