public enum SubackReturnCode extends Enum<SubackReturnCode>
SUBACK message.| Enum Constant and Description |
|---|
FAILURE |
SUCCESS_QOS_0 |
SUCCESS_QOS_1 |
SUCCESS_QOS_2 |
| Modifier and Type | Method and Description |
|---|---|
byte |
getCode() |
static SubackReturnCode |
valueOf(byte code) |
static SubackReturnCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubackReturnCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubackReturnCode SUCCESS_QOS_0
public static final SubackReturnCode SUCCESS_QOS_1
public static final SubackReturnCode SUCCESS_QOS_2
public static final SubackReturnCode FAILURE
public static SubackReturnCode[] values()
for (SubackReturnCode c : SubackReturnCode.values()) System.out.println(c);
public static SubackReturnCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic byte getCode()
public static SubackReturnCode valueOf(byte code)
Copyright © 2013-2018 dc-square GmbH. All Rights Reserved.