Merge "Make AbstractActionSerializer.serialize() final"
[openflowplugin.git] / openflowjava / openflow-protocol-impl / src / main / java / org / opendaylight / openflowjava / statistics / CounterEventTypes.java
1 /*
2  * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.openflowjava.statistics;
10
11 /**
12  * Enumeration of events to be counted with StatisticsCounters.
13  *
14  * @author madamjak
15  */
16 public enum CounterEventTypes {
17     /**
18      * enter message to OFJ and pass to downstream.
19      */
20     DS_ENTERED_OFJAVA,
21
22     /**
23      * flow-mod is entered.
24      */
25     DS_FLOW_MODS_ENTERED,
26
27     /**
28      * encode message successfully.
29      */
30     DS_ENCODE_SUCCESS,
31
32     /**
33      * fail encode message.
34      */
35     DS_ENCODE_FAIL,
36
37     /**
38      * flow-mod encoded and sent to downstream.
39      */
40     DS_FLOW_MODS_SENT,
41
42     /**
43      * packetIn message got dropped -filtering is active.
44      */
45     US_DROPPED_PACKET_IN,
46
47     /**
48      * receive message and pass to upstream.
49      */
50     US_RECEIVED_IN_OFJAVA,
51
52     /**
53      * decode message successfully.
54      */
55     US_DECODE_SUCCESS,
56
57     /**
58      * fail decode message.
59      */
60     US_DECODE_FAIL,
61
62     /**
63      * pass message to consumer (end of upstream).
64      */
65     US_MESSAGE_PASS;
66 }