public enum MqttConnectReturnCode extends Enum<MqttConnectReturnCode>
MqttConnAckMessage
Modifier and Type | Method and Description |
---|---|
byte |
byteValue() |
static MqttConnectReturnCode |
valueOf(byte b) |
static MqttConnectReturnCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MqttConnectReturnCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MqttConnectReturnCode CONNECTION_ACCEPTED
public static final MqttConnectReturnCode CONNECTION_REFUSED_UNACCEPTABLE_PROTOCOL_VERSION
public static final MqttConnectReturnCode CONNECTION_REFUSED_IDENTIFIER_REJECTED
public static final MqttConnectReturnCode CONNECTION_REFUSED_SERVER_UNAVAILABLE
public static final MqttConnectReturnCode CONNECTION_REFUSED_BAD_USER_NAME_OR_PASSWORD
public static final MqttConnectReturnCode CONNECTION_REFUSED_NOT_AUTHORIZED
public static MqttConnectReturnCode[] values()
for (MqttConnectReturnCode c : MqttConnectReturnCode.values()) System.out.println(c);
public static MqttConnectReturnCode 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 byteValue()
public static MqttConnectReturnCode valueOf(byte b)
Copyright © 2008–2017 The Netty Project. All rights reserved.