|
JSIP API v1.2 November 2006 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.sip.DialogState
public final class DialogState
This class contains the enumerations that define the underlying state of an existing dialog. There are three explicit states for a dialog, namely:
Field Summary | |
---|---|
static int |
_COMPLETED
Deprecated. Since v1.2. This state does not exist in a dialog. |
static int |
_CONFIRMED
This constant value indicates the internal value of the "Confirmed" constant. |
static int |
_EARLY
This constant value indicates the internal value of the "Early" constant. |
static int |
_TERMINATED
This constant value indicates the internal value of the "Terminated" constant. |
static DialogState |
COMPLETED
Deprecated. Since v1.2. This state does not exist in a dialog. |
static DialogState |
CONFIRMED
This constant value indicates that the dialog state is "Confirmed". |
static DialogState |
EARLY
This constant value indicates that the dialog state is "Early". |
static DialogState |
TERMINATED
This constant value indicates that the dialog state is "Terminated". |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Compare this dialog state for equality with another. |
static DialogState |
getObject(int dialogState)
This method returns the object value of the DialogState |
int |
getValue()
This method returns the integer value of the DialogState |
int |
hashCode()
Get a hash code value for this dialog state. |
java.lang.String |
toString()
This method returns a string version of this class. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int _EARLY
public static final DialogState EARLY
public static final int _CONFIRMED
public static final DialogState CONFIRMED
public static final int _COMPLETED
public static final DialogState COMPLETED
public static final int _TERMINATED
public static final DialogState TERMINATED
Method Detail |
---|
public static DialogState getObject(int dialogState)
dialogState
- The integer value of the DialogState
public int getValue()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object to compare this with.
true
if obj
is an instance of this class
representing the same dialog state as this, false
otherwise.public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
JSIP API v1.2 November 2006 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |