public enum MqttErrorCode extends Enum<MqttErrorCode>
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
static MqttErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MqttErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MqttErrorCode FAILEDOPERATION
public static final MqttErrorCode FAILEDOPERATION_INSTANCENOTREADY
public static final MqttErrorCode FAILEDOPERATION_PUBLICKEYVERIFYFAILED
public static final MqttErrorCode LIMITEXCEEDED_TOPICNUM
public static final MqttErrorCode MISSINGPARAMETER
public static final MqttErrorCode OPERATIONDENIED
public static final MqttErrorCode RESOURCENOTFOUND_INSTANCE
public static final MqttErrorCode RESOURCENOTFOUND_ROLE
public static final MqttErrorCode RESOURCENOTFOUND_TOPIC
public static final MqttErrorCode UNSUPPORTEDOPERATION_RESOURCEALREADYEXISTS
public static MqttErrorCode[] values()
for (MqttErrorCode c : MqttErrorCode.values()) System.out.println(c);
public static MqttErrorCode 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 String getValue()
Copyright © 2024. All rights reserved.