Package gnu.java.zrtp
Enum ZrtpCodes.InfoCodes
- java.lang.Object
-
- java.lang.Enum<ZrtpCodes.InfoCodes>
-
- gnu.java.zrtp.ZrtpCodes.InfoCodes
-
- All Implemented Interfaces:
Serializable,Comparable<ZrtpCodes.InfoCodes>
- Enclosing interface:
- ZrtpCodes
public static enum ZrtpCodes.InfoCodes extends Enum<ZrtpCodes.InfoCodes>
Sub-codes for Info
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ZrtpCodes.InfoCodesvalueOf(String name)Returns the enum constant of this type with the specified name.static ZrtpCodes.InfoCodes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
InfoHelloReceived
public static final ZrtpCodes.InfoCodes InfoHelloReceived
-
InfoCommitDHGenerated
public static final ZrtpCodes.InfoCodes InfoCommitDHGenerated
-
InfoRespCommitReceived
public static final ZrtpCodes.InfoCodes InfoRespCommitReceived
-
InfoDH1DHGenerated
public static final ZrtpCodes.InfoCodes InfoDH1DHGenerated
-
InfoInitDH1Received
public static final ZrtpCodes.InfoCodes InfoInitDH1Received
-
InfoRespDH2Received
public static final ZrtpCodes.InfoCodes InfoRespDH2Received
-
InfoInitConf1Received
public static final ZrtpCodes.InfoCodes InfoInitConf1Received
-
InfoRespConf2Received
public static final ZrtpCodes.InfoCodes InfoRespConf2Received
-
InfoRSMatchFound
public static final ZrtpCodes.InfoCodes InfoRSMatchFound
-
InfoSecureStateOn
public static final ZrtpCodes.InfoCodes InfoSecureStateOn
-
InfoSecureStateOff
public static final ZrtpCodes.InfoCodes InfoSecureStateOff
-
-
Method Detail
-
values
public static ZrtpCodes.InfoCodes[] 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 (ZrtpCodes.InfoCodes c : ZrtpCodes.InfoCodes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZrtpCodes.InfoCodes 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
-
-