Class ApplicationServiceType
- java.lang.Object
-
- org.jainslee.resources.diameter.rf.types.vb80.ApplicationServiceType
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class ApplicationServiceType extends Object implements Serializable, Enumerated
Java class to represent the ApplicationServiceType enumerated type. Documentation from the relevant specification: The Application-Service-Type AVP (AVP code 2102) is of type Enumerated and is used to differentiate between the different roles of a node within service events, e.g. the sending and receiving roles of participating and controlling functions.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_INVITING
static int
_JOINING
static int
_LEAVING
static int
_RECEIVING
static int
_RETRIEVAL
static int
_SENDING
static ApplicationServiceType
INVITING
static ApplicationServiceType
JOINING
static ApplicationServiceType
LEAVING
static ApplicationServiceType
RECEIVING
static ApplicationServiceType
RETRIEVAL
static ApplicationServiceType
SENDING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ApplicationServiceType
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_SENDING
public static final int _SENDING
- See Also:
- Constant Field Values
-
_RECEIVING
public static final int _RECEIVING
- See Also:
- Constant Field Values
-
_RETRIEVAL
public static final int _RETRIEVAL
- See Also:
- Constant Field Values
-
_INVITING
public static final int _INVITING
- See Also:
- Constant Field Values
-
_LEAVING
public static final int _LEAVING
- See Also:
- Constant Field Values
-
_JOINING
public static final int _JOINING
- See Also:
- Constant Field Values
-
SENDING
public static final ApplicationServiceType SENDING
-
RECEIVING
public static final ApplicationServiceType RECEIVING
-
RETRIEVAL
public static final ApplicationServiceType RETRIEVAL
-
INVITING
public static final ApplicationServiceType INVITING
-
LEAVING
public static final ApplicationServiceType LEAVING
-
JOINING
public static final ApplicationServiceType JOINING
-
-
Method Detail
-
fromInt
public static ApplicationServiceType 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
-
-