Enum CounterEventTypes
- java.lang.Object
-
- java.lang.Enum<CounterEventTypes>
-
- org.opendaylight.openflowjava.statistics.CounterEventTypes
-
- All Implemented Interfaces:
Serializable
,Comparable<CounterEventTypes>
public enum CounterEventTypes extends Enum<CounterEventTypes>
Enumeration of events to be counted with StatisticsCounters.- Author:
- madamjak
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DS_ENCODE_FAIL
fail encode message.DS_ENCODE_SUCCESS
encode message successfully.DS_ENTERED_OFJAVA
enter message to OFJ and pass to downstream.DS_FLOW_MODS_ENTERED
flow-mod is entered.DS_FLOW_MODS_SENT
flow-mod encoded and sent to downstream.US_DECODE_FAIL
fail decode message.US_DECODE_SUCCESS
decode message successfully.US_DROPPED_PACKET_IN
packetIn message got dropped -filtering is active.US_MESSAGE_PASS
pass message to consumer (end of upstream).US_RECEIVED_IN_OFJAVA
receive message and pass to upstream.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CounterEventTypes
valueOf(String name)
Returns the enum constant of this type with the specified name.static CounterEventTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DS_ENTERED_OFJAVA
public static final CounterEventTypes DS_ENTERED_OFJAVA
enter message to OFJ and pass to downstream.
-
DS_FLOW_MODS_ENTERED
public static final CounterEventTypes DS_FLOW_MODS_ENTERED
flow-mod is entered.
-
DS_ENCODE_SUCCESS
public static final CounterEventTypes DS_ENCODE_SUCCESS
encode message successfully.
-
DS_ENCODE_FAIL
public static final CounterEventTypes DS_ENCODE_FAIL
fail encode message.
-
DS_FLOW_MODS_SENT
public static final CounterEventTypes DS_FLOW_MODS_SENT
flow-mod encoded and sent to downstream.
-
US_DROPPED_PACKET_IN
public static final CounterEventTypes US_DROPPED_PACKET_IN
packetIn message got dropped -filtering is active.
-
US_RECEIVED_IN_OFJAVA
public static final CounterEventTypes US_RECEIVED_IN_OFJAVA
receive message and pass to upstream.
-
US_DECODE_SUCCESS
public static final CounterEventTypes US_DECODE_SUCCESS
decode message successfully.
-
US_DECODE_FAIL
public static final CounterEventTypes US_DECODE_FAIL
fail decode message.
-
US_MESSAGE_PASS
public static final CounterEventTypes US_MESSAGE_PASS
pass message to consumer (end of upstream).
-
-
Method Detail
-
values
public static CounterEventTypes[] 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 (CounterEventTypes c : CounterEventTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CounterEventTypes 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 nameNullPointerException
- if the argument is null
-
-