Move stats caching to FM StatisticsManager
[controller.git] / opendaylight / protocol_plugins / openflow / src / main / java / org / opendaylight / controller / protocol_plugin / openflow / IReadFilterInternalListener.java
1 package org.opendaylight.controller.protocol_plugin.openflow;
2
3 import java.util.List;
4
5 import org.opendaylight.controller.sal.core.Node;
6 import org.opendaylight.controller.sal.reader.FlowOnNode;
7 import org.opendaylight.controller.sal.reader.NodeConnectorStatistics;
8 import org.opendaylight.controller.sal.reader.NodeDescription;
9 import org.opendaylight.controller.sal.reader.NodeTableStatistics;
10
11 /**
12  * The Interface provides statistics updates to ReaderFilter listeners within
13  * the protocol plugin
14  */
15 public interface IReadFilterInternalListener {
16
17     /**
18      * Notifies the hardware view of all the flow installed on the specified network node
19      * @param node
20      * @return
21      */
22     public void nodeFlowStatisticsUpdated(Node node, List<FlowOnNode> flowStatsList);
23
24     /**
25      * Notifies the hardware view of the specified network node connector
26      * @param node
27      * @return
28      */
29     public void nodeConnectorStatisticsUpdated(Node node, List<NodeConnectorStatistics> ncStatsList);
30
31     /**
32      * Notifies all the table statistics for a node
33      * @param node
34      * @return
35      */
36     public void nodeTableStatisticsUpdated(Node node, List<NodeTableStatistics> tableStatsList);
37
38     /**
39      * Notifies the hardware view of all the flow installed on the specified network node
40      * @param node
41      * @return
42      */
43     public void nodeDescriptionStatisticsUpdated(Node node, NodeDescription nodeDescription);
44
45
46 }