Enum DeviceParameter.State

    • Enum Constant Summary

      Enum Constants 
      Enum ConstantDescription
      DECRYPT_ERROR
      Decryption failed for the parameter, see the server log for more information.
      ENCRYPT_ERROR
      Encryption failed for the parameter, see the server log for more information.
      NOT_FOUND
      Not present on client: request for parameter failed as it was not present on the client.
      REQUEST
      Server is requesting the parameter from the client.
      SET
      Server is setting or removing the parameter from the client.
      SUCCESS
      Success: client has replied with the parameter and its value, or the value has been removed.
      UNAVAILABLE
      Unavailable: iiziRun is not used.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethodDescription
      static DeviceParameter.StatevalueOf​(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.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • 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.
    • 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