public static enum Dialog.State extends Enum<Dialog.State>
Enum Constant and Description |
---|
ACTIVE
The dialog is fully established.
|
ACTIVE_PENDING
An Open Request has been received, and it has been accepted, but no Delimiter has been sent yet.
|
IDLE
The dialog is inactive.
|
INIT_RECEIVED
An Open Request has been received, but it has not been accepted or rejected yet.
|
INIT_SENT
An Open Request + Delimiter has been sent, but no response has been received yet.
|
INIT_SENT_PENDING
An Open Request has been sent, but no Delimiter has been sent yet.
|
Modifier and Type | Method and Description |
---|---|
static Dialog.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dialog.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dialog.State IDLE
public static final Dialog.State INIT_SENT_PENDING
public static final Dialog.State INIT_SENT
public static final Dialog.State INIT_RECEIVED
public static final Dialog.State ACTIVE_PENDING
public static final Dialog.State ACTIVE
public static Dialog.State[] values()
for (Dialog.State c : Dialog.State.values()) System.out.println(c);
public static Dialog.State 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 null