Package gnu.java.zrtp
Enum ZrtpStateClass.ZrtpStates
- java.lang.Object
-
- java.lang.Enum<ZrtpStateClass.ZrtpStates>
-
- gnu.java.zrtp.ZrtpStateClass.ZrtpStates
-
- All Implemented Interfaces:
Serializable,Comparable<ZrtpStateClass.ZrtpStates>
- Enclosing class:
- ZrtpStateClass
public static enum ZrtpStateClass.ZrtpStates extends Enum<ZrtpStateClass.ZrtpStates>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AckDetectedAckSentCommitSentDetectInitialnumberOfStatesSecureStateWaitClearAckWaitCommitWaitConfAckWaitConfirm1WaitConfirm2WaitDHPart2WaitErrorAck
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ZrtpStateClass.ZrtpStatesvalueOf(String name)Returns the enum constant of this type with the specified name.static ZrtpStateClass.ZrtpStates[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Initial
public static final ZrtpStateClass.ZrtpStates Initial
-
Detect
public static final ZrtpStateClass.ZrtpStates Detect
-
AckDetected
public static final ZrtpStateClass.ZrtpStates AckDetected
-
AckSent
public static final ZrtpStateClass.ZrtpStates AckSent
-
WaitCommit
public static final ZrtpStateClass.ZrtpStates WaitCommit
-
CommitSent
public static final ZrtpStateClass.ZrtpStates CommitSent
-
WaitDHPart2
public static final ZrtpStateClass.ZrtpStates WaitDHPart2
-
WaitConfirm1
public static final ZrtpStateClass.ZrtpStates WaitConfirm1
-
WaitConfirm2
public static final ZrtpStateClass.ZrtpStates WaitConfirm2
-
WaitConfAck
public static final ZrtpStateClass.ZrtpStates WaitConfAck
-
WaitClearAck
public static final ZrtpStateClass.ZrtpStates WaitClearAck
-
SecureState
public static final ZrtpStateClass.ZrtpStates SecureState
-
WaitErrorAck
public static final ZrtpStateClass.ZrtpStates WaitErrorAck
-
numberOfStates
public static final ZrtpStateClass.ZrtpStates numberOfStates
-
-
Method Detail
-
values
public static ZrtpStateClass.ZrtpStates[] 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.ZrtpStates c : ZrtpStateClass.ZrtpStates.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.ZrtpStates 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
-
-