public static enum CONNACK.Code extends Enum<CONNACK.Code>
Modifier and Type | Method and Description |
---|---|
static CONNACK.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CONNACK.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CONNACK.Code CONNECTION_ACCEPTED
public static final CONNACK.Code CONNECTION_REFUSED_UNACCEPTED_PROTOCOL_VERSION
public static final CONNACK.Code CONNECTION_REFUSED_IDENTIFIER_REJECTED
public static final CONNACK.Code CONNECTION_REFUSED_SERVER_UNAVAILABLE
public static final CONNACK.Code CONNECTION_REFUSED_BAD_USERNAME_OR_PASSWORD
public static final CONNACK.Code CONNECTION_REFUSED_NOT_AUTHORIZED
public static CONNACK.Code[] values()
for (CONNACK.Code c : CONNACK.Code.values()) System.out.println(c);
public static CONNACK.Code 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 nullCopyright © 2010–2017 FuseSource, Corp.. All rights reserved.