- java.lang.Object
-
- swim.mqtt.MqttConnStatus
-
-
Field Summary
Fields Modifier and Type Field Description static MqttConnStatus
ACCEPTED
static MqttConnStatus
BAD_USERNAME_OR_PASSWORD
int
code
static MqttConnStatus
IDENTIFIER_REJECTED
static MqttConnStatus
NOT_AUTHORIZED
static MqttConnStatus
SERVER_UNAVAILABLE
static MqttConnStatus
UNACCEPTABLE_PROTOCOL_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MqttConnStatus
create(int code)
<T> Output<T>
debug(Output<T> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.boolean
equals(Object other)
int
hashCode()
boolean
isAccepted()
boolean
isRefused()
String
toString()
-
-
-
Field Detail
-
code
public final int code
-
ACCEPTED
public static final MqttConnStatus ACCEPTED
-
UNACCEPTABLE_PROTOCOL_VERSION
public static final MqttConnStatus UNACCEPTABLE_PROTOCOL_VERSION
-
IDENTIFIER_REJECTED
public static final MqttConnStatus IDENTIFIER_REJECTED
-
SERVER_UNAVAILABLE
public static final MqttConnStatus SERVER_UNAVAILABLE
-
BAD_USERNAME_OR_PASSWORD
public static final MqttConnStatus BAD_USERNAME_OR_PASSWORD
-
NOT_AUTHORIZED
public static final MqttConnStatus NOT_AUTHORIZED
-
-
Method Detail
-
isAccepted
public boolean isAccepted()
-
isRefused
public boolean isRefused()
-
debug
public <T> Output<T> debug(Output<T> output)
Description copied from interface:Debug
Writes a developer readable, debug-formatted string representation of this object tooutput
.
-
create
public static MqttConnStatus create(int code)
-
-