Class Overview
Defines SIP session states, such as "registering", "outgoing call", and "in call".
Summary
Public Methods |
static
String
|
toString(int state)
Converts the state to string.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this Object .
|
boolean
|
equals(Object o)
Compares this instance with the specified object and indicates if they
are equal.
|
void
|
finalize()
Invoked when the garbage collector has detected that this instance is no longer reachable.
|
final
Class<?>
|
getClass()
Returns the unique instance of Class that represents this
object's class.
|
int
|
hashCode()
Returns an integer hash code for this object.
|
final
void
|
notify()
Causes a thread which is waiting on this object's monitor (by means of
calling one of the wait() methods) to be woken up.
|
final
void
|
notifyAll()
Causes all threads which are waiting on this object's monitor (by means
of calling one of the wait() methods) to be woken up.
|
String
|
toString()
Returns a string containing a concise, human-readable description of this
object.
|
final
void
|
wait()
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object.
|
final
void
|
wait(long millis, int nanos)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
final
void
|
wait(long millis)
Causes the calling thread to wait until another thread calls the notify() or notifyAll() method of this object or until the
specified timeout expires.
|
|
Constants
public
static
final
int
DEREGISTERING
When the unregistration request is sent out.
Constant Value:
2
(0x00000002)
public
static
final
int
INCOMING_CALL
When an INVITE request is received.
Constant Value:
3
(0x00000003)
public
static
final
int
INCOMING_CALL_ANSWERING
When an OK response is sent for the INVITE request received.
Constant Value:
4
(0x00000004)
public
static
final
int
IN_CALL
When a call is established.
Constant Value:
8
(0x00000008)
public
static
final
int
NOT_DEFINED
Constant Value:
101
(0x00000065)
public
static
final
int
OUTGOING_CALL
When an INVITE request is sent.
Constant Value:
5
(0x00000005)
public
static
final
int
OUTGOING_CALL_CANCELING
When a CANCEL request is sent for the INVITE request sent.
Constant Value:
7
(0x00000007)
public
static
final
int
OUTGOING_CALL_RING_BACK
When a RINGING response is received for the INVITE request sent.
Constant Value:
6
(0x00000006)
public
static
final
int
PINGING
When an OPTIONS request is sent.
Constant Value:
9
(0x00000009)
public
static
final
int
READY_TO_CALL
When session is ready to initiate a call or transaction.
Constant Value:
0
(0x00000000)
public
static
final
int
REGISTERING
When the registration request is sent out.
Constant Value:
1
(0x00000001)
Public Methods
public
static
String
toString
(int state)
Converts the state to string.