Class SdpType
- java.lang.Object
-
- org.jainslee.resources.diameter.ro.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_ANSWERstatic int_SDP_OFFERstatic SdpTypeSDP_ANSWERstatic SdpTypeSDP_OFFER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SdpTypefromInt(int type)intgetValue()Return the value of this instance of this enumerated type.StringtoString()
-
-
-
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:EnumeratedReturn the value of this instance of this enumerated type.- Specified by:
getValuein interfaceEnumerated- Returns:
- value
-
-