public enum IceCandidatePairState extends Enum<IceCandidatePairState>
Enum Constant and Description |
---|
STATE_FAILED
Failed: A check for this pair was already done and failed, either never producing any
response or producing an unrecoverable failure response.
|
STATE_FROZEN
Frozen: A check for this pair hasn't been performed, and it can't yet be performed until some
other check succeeds, allowing this pair to unfreeze and move into the Waiting state.
|
STATE_IN_PROGRESS
In-Progress: A check has been sent for this pair, but the transaction is in progress.
|
STATE_SUCCEEDED
Succeeded: A check for this pair was already done and produced a successful result.
|
STATE_WAITING
Waiting: A check has not been performed for this pair, and can be performed as soon as it is
the highest-priority Waiting pair on the check list.
|
Modifier and Type | Method and Description |
---|---|
static IceCandidatePairState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IceCandidatePairState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IceCandidatePairState STATE_SUCCEEDED
public static final IceCandidatePairState STATE_FROZEN
public static final IceCandidatePairState STATE_WAITING
public static final IceCandidatePairState STATE_IN_PROGRESS
public static final IceCandidatePairState STATE_FAILED
public static IceCandidatePairState[] values()
for (IceCandidatePairState c : IceCandidatePairState.values()) System.out.println(c);
public static IceCandidatePairState 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 null5.2.0