Class SdpType
- java.lang.Object
-
- org.jainslee.resources.diameter.rf.types.vb80.SdpType
-
- All Implemented Interfaces:
Serializable
,Enumerated
public class SdpType extends Object implements Serializable, Enumerated
Java class to represent the SdpType enumerated type. Documentation from the relevant specification: The SDP-Type AVP (AVP code 2036) is of type Enumerated and holds information if the SDP media component was of type SDP offer or SDP answer.- Author:
- Open Cloud
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
_SDP_ANSWER
static int
_SDP_OFFER
static SdpType
SDP_ANSWER
static SdpType
SDP_OFFER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SdpType
fromInt(int type)
int
getValue()
Return the value of this instance of this enumerated type.String
toString()
-
-
-
Field Detail
-
_SDP_OFFER
public static final int _SDP_OFFER
- See Also:
- Constant Field Values
-
_SDP_ANSWER
public static final int _SDP_ANSWER
- See Also:
- Constant Field Values
-
SDP_OFFER
public static final SdpType SDP_OFFER
-
SDP_ANSWER
public static final SdpType SDP_ANSWER
-
-
Method Detail
-
fromInt
public static SdpType 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
-
-