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