public enum CoapMessageType extends Enum<CoapMessageType>
| Enum Constant and Description |
|---|
ACKNOWLEDGEMENT |
CONFIRMABLE |
NON_CONFIRMABLE |
RESET |
| Modifier and Type | Method and Description |
|---|---|
static CoapMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CoapMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CoapMessageType CONFIRMABLE
public static final CoapMessageType NON_CONFIRMABLE
public static final CoapMessageType ACKNOWLEDGEMENT
public static final CoapMessageType RESET
public static CoapMessageType[] values()
for (CoapMessageType c : CoapMessageType.values()) System.out.println(c);
public static CoapMessageType 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 © 2019–2025 Teslanet.nl. All rights reserved.