Class PocServerRole
- java.lang.Object
-
- org.jainslee.resources.diameter.ro.types.vcb0.PocServerRole
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class PocServerRole extends Object implements Serializable, Enumerated
Java class to represent the PocServerRole enumerated type. Documentation from the relevant specification: The PoC-Server-Role AVP (AVP code 883) is of type Enumerated and specifies the role of the PoC server.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_CONTROLLING_POC_SERVER
static int
_PARTICIPATING_POC_SERVER
static PocServerRole
CONTROLLING_POC_SERVER
static PocServerRole
PARTICIPATING_POC_SERVER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PocServerRole
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_PARTICIPATING_POC_SERVER
public static final int _PARTICIPATING_POC_SERVER
- See Also:
- Constant Field Values
-
_CONTROLLING_POC_SERVER
public static final int _CONTROLLING_POC_SERVER
- See Also:
- Constant Field Values
-
PARTICIPATING_POC_SERVER
public static final PocServerRole PARTICIPATING_POC_SERVER
-
CONTROLLING_POC_SERVER
public static final PocServerRole CONTROLLING_POC_SERVER
-
-
Method Detail
-
fromInt
public static PocServerRole 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
-
-