Package com.iizix.gyro
Enum DeviceParameter.State
- java.lang.Object
- java.lang.Enum<DeviceParameter.State>
- com.iizix.gyro.DeviceParameter.State
 
 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<DeviceParameter.State>
 - Enclosing class:
- DeviceParameter
 - public static enum DeviceParameter.State extends java.lang.Enum<DeviceParameter.State> The states for this DeviceParameter instance.
- Enum Constant Summary- Enum Constants - Enum Constant - Description - DECRYPT_ERRORDecryption failed for the parameter, see the server log for more information.- ENCRYPT_ERROREncryption failed for the parameter, see the server log for more information.- NOT_FOUNDNot present on client: request for parameter failed as it was not present on the client.- REQUESTServer is requesting the parameter from the client.- SETServer is setting or removing the parameter from the client.- SUCCESSSuccess: client has replied with the parameter and its value, or the value has been removed.- UNAVAILABLEUnavailable: iiziRun is not used.
 - Method Summary- All Methods Static Methods Concrete Methods - Modifier and Type - Method - Description - static DeviceParameter.State- valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.- static DeviceParameter.State[]- values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- Enum Constant Detail- REQUEST- public static final DeviceParameter.State REQUEST Server is requesting the parameter from the client.
 - SET- public static final DeviceParameter.State SET Server is setting or removing the parameter from the client. If the value is null, the parameter is removed, otherwise it is set.
 - SUCCESS- public static final DeviceParameter.State SUCCESS Success: client has replied with the parameter and its value, or the value has been removed.
 - NOT_FOUND- public static final DeviceParameter.State NOT_FOUND Not present on client: request for parameter failed as it was not present on the client.
 - ENCRYPT_ERROR- public static final DeviceParameter.State ENCRYPT_ERROR Encryption failed for the parameter, see the server log for more information.
 - DECRYPT_ERROR- public static final DeviceParameter.State DECRYPT_ERROR Decryption failed for the parameter, see the server log for more information. This could be due to tampering with the data on the client side, or that the server key could not be found.
 - UNAVAILABLE- public static final DeviceParameter.State UNAVAILABLE Unavailable: iiziRun is not used.
 
 - Method Detail- values- public static DeviceParameter.State[] 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 (DeviceParameter.State c : DeviceParameter.State.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - valueOf- public static DeviceParameter.State valueOf(java.lang.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:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null