public static enum McMessageUtils.MESSAGE_STATUS extends Enum<McMessageUtils.MESSAGE_STATUS>
Enum Constant and Description |
---|
ACK_RECEIVED |
ADDED_TO_SLEEP_QUEUE |
FAILED |
GATEWAY_NOT_AVAILABLE |
NO_ACK_RECEIVED |
SUCCESS |
UNKNOWN_ERROR |
Modifier and Type | Method and Description |
---|---|
static McMessageUtils.MESSAGE_STATUS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static McMessageUtils.MESSAGE_STATUS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final McMessageUtils.MESSAGE_STATUS SUCCESS
public static final McMessageUtils.MESSAGE_STATUS FAILED
public static final McMessageUtils.MESSAGE_STATUS ACK_RECEIVED
public static final McMessageUtils.MESSAGE_STATUS NO_ACK_RECEIVED
public static final McMessageUtils.MESSAGE_STATUS UNKNOWN_ERROR
public static final McMessageUtils.MESSAGE_STATUS GATEWAY_NOT_AVAILABLE
public static final McMessageUtils.MESSAGE_STATUS ADDED_TO_SLEEP_QUEUE
public static McMessageUtils.MESSAGE_STATUS[] values()
for (McMessageUtils.MESSAGE_STATUS c : McMessageUtils.MESSAGE_STATUS.values()) System.out.println(c);
public static McMessageUtils.MESSAGE_STATUS 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 © 2015–2019. All rights reserved.