Class Status
- java.lang.Object
-
- org.jainslee.resources.diameter.ro.types.vcb0.Status
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class Status extends Object implements Serializable, Enumerated
Java class to represent the Status enumerated type. Documentation from the relevant specification: The Status AVP (AVP Code 2702) is of type Enumerated and only present to specify abnormal response code, e.g, 4xx, 5xx or Timeout, etc for specific AS when it responds abnormally to S-CSCF. If AS responds SIP_200ok, this AVP isn't present in Application-Server-Information.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_RESPONSE_4XX
static int
_RESPONSE_5XX
static int
_TIMEOUT
static Status
RESPONSE_4XX
static Status
RESPONSE_5XX
static Status
TIMEOUT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Status
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_RESPONSE_4XX
public static final int _RESPONSE_4XX
- See Also:
- Constant Field Values
-
_RESPONSE_5XX
public static final int _RESPONSE_5XX
- See Also:
- Constant Field Values
-
_TIMEOUT
public static final int _TIMEOUT
- See Also:
- Constant Field Values
-
RESPONSE_4XX
public static final Status RESPONSE_4XX
-
RESPONSE_5XX
public static final Status RESPONSE_5XX
-
TIMEOUT
public static final Status TIMEOUT
-
-
Method Detail
-
fromInt
public static Status fromInt(int type)
-
getValue
public int getValue()
Description copied from interface:Enumerated
Return the value of this instance of this enumerated type.- Specified by:
getValue
in interfaceEnumerated
- Returns:
- value
-
-