Package gnu.java.zrtp
Enum ZrtpCodes.SevereCodes
- java.lang.Object
-
- java.lang.Enum<ZrtpCodes.SevereCodes>
-
- gnu.java.zrtp.ZrtpCodes.SevereCodes
-
- All Implemented Interfaces:
Serializable,Comparable<ZrtpCodes.SevereCodes>
- Enclosing interface:
- ZrtpCodes
public static enum ZrtpCodes.SevereCodes extends Enum<ZrtpCodes.SevereCodes>
Sub-codes for Severe
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SevereCannotSendSevereCommitHMACFailedSevereDH1HMACFailedSevereDH2HMACFailedSevereHelloHMACFailedSevereNoTimerSevereProtocolErrorSevereSecurityExceptionSevereTooMuchRetries
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ZrtpCodes.SevereCodesvalueOf(String name)Returns the enum constant of this type with the specified name.static ZrtpCodes.SevereCodes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SevereHelloHMACFailed
public static final ZrtpCodes.SevereCodes SevereHelloHMACFailed
-
SevereCommitHMACFailed
public static final ZrtpCodes.SevereCodes SevereCommitHMACFailed
-
SevereDH1HMACFailed
public static final ZrtpCodes.SevereCodes SevereDH1HMACFailed
-
SevereDH2HMACFailed
public static final ZrtpCodes.SevereCodes SevereDH2HMACFailed
-
SevereCannotSend
public static final ZrtpCodes.SevereCodes SevereCannotSend
-
SevereProtocolError
public static final ZrtpCodes.SevereCodes SevereProtocolError
-
SevereNoTimer
public static final ZrtpCodes.SevereCodes SevereNoTimer
-
SevereTooMuchRetries
public static final ZrtpCodes.SevereCodes SevereTooMuchRetries
-
SevereSecurityException
public static final ZrtpCodes.SevereCodes SevereSecurityException
-
-
Method Detail
-
values
public static ZrtpCodes.SevereCodes[] 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.SevereCodes c : ZrtpCodes.SevereCodes.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.SevereCodes 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
-
-