public static enum SipSession.State extends Enum<SipSession.State>
Enum Constant and Description |
---|
CONFIRMED |
EARLY |
INITIAL |
TERMINATED |
Modifier and Type | Method and Description |
---|---|
static SipSession.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SipSession.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SipSession.State INITIAL
public static final SipSession.State EARLY
public static final SipSession.State CONFIRMED
public static final SipSession.State TERMINATED
public static SipSession.State[] values()
for (SipSession.State c : SipSession.State.values()) System.out.println(c);
public static SipSession.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 nullCopyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.