Enum PacketInFilter.FilterAction

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      FILTER_DISABLED
      Signifies that this filter is disabled.
      FILTER_INVALID
      Signifies that the filter applied is invalid filter.
      FILTER_VALID
      Signifies that filter applied is a valid filter.
      PACKET_ALLOW
      Signifies that the packet is allowed to be processed.
      PACKET_BLOCKED
      Signifies that the packet processing is blocked as the threshold has crossed.
      PACKET_DENY
      Signifies that the packet is denied from being processed as it crossed the maxCounter.
      WINDOW_BLOCKED
      Signifies that the current window for packet processing is full and the window is blocked for packet processing.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static PacketInFilter.FilterAction valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static PacketInFilter.FilterAction[] 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

      • PACKET_DENY

        public static final PacketInFilter.FilterAction PACKET_DENY
        Signifies that the packet is denied from being processed as it crossed the maxCounter.
      • WINDOW_BLOCKED

        public static final PacketInFilter.FilterAction WINDOW_BLOCKED
        Signifies that the current window for packet processing is full and the window is blocked for packet processing.
      • PACKET_BLOCKED

        public static final PacketInFilter.FilterAction PACKET_BLOCKED
        Signifies that the packet processing is blocked as the threshold has crossed.
    • Method Detail

      • values

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

        public static PacketInFilter.FilterAction 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