Package gnu.java.zrtp
Enum ZrtpStateClass.EventDataType
- java.lang.Object
-
- java.lang.Enum<ZrtpStateClass.EventDataType>
-
- gnu.java.zrtp.ZrtpStateClass.EventDataType
-
- All Implemented Interfaces:
Serializable,Comparable<ZrtpStateClass.EventDataType>
- Enclosing class:
- ZrtpStateClass
protected static enum ZrtpStateClass.EventDataType extends Enum<ZrtpStateClass.EventDataType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ErrorPktTimerZrtpCloseZrtpInitialZrtpPacket
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ZrtpStateClass.EventDataTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ZrtpStateClass.EventDataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ZrtpInitial
public static final ZrtpStateClass.EventDataType ZrtpInitial
-
ZrtpClose
public static final ZrtpStateClass.EventDataType ZrtpClose
-
ZrtpPacket
public static final ZrtpStateClass.EventDataType ZrtpPacket
-
Timer
public static final ZrtpStateClass.EventDataType Timer
-
ErrorPkt
public static final ZrtpStateClass.EventDataType ErrorPkt
-
-
Method Detail
-
values
public static ZrtpStateClass.EventDataType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ZrtpStateClass.EventDataType c : ZrtpStateClass.EventDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZrtpStateClass.EventDataType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-