public static enum SipSession.State extends Enum<SipSession.State>
Enum Constant and Description |
---|
CONFIRMED
A dialog-creating 2xx response has been sent or received, confirming the SIP dialog.
|
EARLY
A dialog-creating 1xx response has been sent or received, creating an early dialog.
|
INITIAL
The SipSession has been created but no dialog-creating response has been seen yet, no SIP dialog exists.
|
TERMINATED
A dialog-terminating request has been sent or received, terminating the SIP dialog.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isConfirmed() |
boolean |
isEarly() |
boolean |
isInitial() |
boolean |
isTerminated() |
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 nullpublic boolean isInitial()
public boolean isEarly()
public boolean isConfirmed()
public boolean isTerminated()