Enum Receiver.OnError

    • Enum Constant Detail

      • CONTINUE

        public static final Receiver.OnError CONTINUE
        Don't stop the receiver when an error occurs.
      • RECOVER

        public static final Receiver.OnError RECOVER
        If an error occurs (eg. connection is lost) the receiver will be stopped and marked as ERROR Once every recover.adapters.interval it will be attempted to (re-) start the receiver.
      • CLOSE

        public static final Receiver.OnError CLOSE
        Stop the receiver when an error occurs.
    • Method Detail

      • values

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

        public static Receiver.OnError 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