- java.lang.Object
-
- swim.mqtt.MqttSubStatus
-
-
Field Summary
Fields Modifier and Type Field Description static MqttSubStatus
AT_LEAST_ONCE
static MqttSubStatus
AT_MOST_ONCE
int
code
static MqttSubStatus
EXACTLY_ONCE
static MqttSubStatus
FAILURE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
debug(Output<?> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
equals(Object other)
static MqttSubStatus
from(int code)
int
hashCode()
boolean
isAtLeastOnce()
boolean
isAtMostOnce()
boolean
isExactlyOnce()
boolean
isFailure()
boolean
isSuccess()
MqttQoS
maxQoS()
String
toString()
-
-
-
Field Detail
-
code
public final int code
-
AT_MOST_ONCE
public static final MqttSubStatus AT_MOST_ONCE
-
AT_LEAST_ONCE
public static final MqttSubStatus AT_LEAST_ONCE
-
EXACTLY_ONCE
public static final MqttSubStatus EXACTLY_ONCE
-
FAILURE
public static final MqttSubStatus FAILURE
-
-
Method Detail
-
isSuccess
public boolean isSuccess()
-
isAtMostOnce
public boolean isAtMostOnce()
-
isAtLeastOnce
public boolean isAtLeastOnce()
-
isExactlyOnce
public boolean isExactlyOnce()
-
isFailure
public boolean isFailure()
-
maxQoS
public MqttQoS maxQoS()
-
debug
public void debug(Output<?> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
from
public static MqttSubStatus from(int code)
-
-