Enum Mqtt5ClientOptions.ClientOfflineQueueBehavior

    • Method Detail

      • values

        public static Mqtt5ClientOptions.ClientOfflineQueueBehavior[] 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 (Mqtt5ClientOptions.ClientOfflineQueueBehavior c : Mqtt5ClientOptions.ClientOfflineQueueBehavior.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Mqtt5ClientOptions.ClientOfflineQueueBehavior 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 name
        NullPointerException - if the argument is null
      • getValue

        public int getValue()
        Returns:
        The native enum integer value associated with this Java enum value
      • getEnumValueFromInteger

        public static Mqtt5ClientOptions.ClientOfflineQueueBehavior getEnumValueFromInteger​(int value)
        Creates a Java ClientOfflineQueueBehavior enum value from a native integer value.
        Parameters:
        value - native integer value for the client operation queue behavior type
        Returns:
        a new ClientOfflineQueueBehavior value