Prevent ConfigPusher from killing its thread
[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 notification of statistics (hardware view) updates to
13  * ReaderFilter listeners within the protocol plugin
14  */
15 public interface IReadFilterInternalListener {
16
17     /**
18      * Notifies the hardware view of all the flow installed on the specified
19      * network node was updated
20      *
21      * @param node
22      *            the network node
23      * @param flowStatsList
24      */
25     public void nodeFlowStatisticsUpdated(Node node, List<FlowOnNode> flowStatsList);
26
27     /**
28      * Notifies the hardware view of the specified network node connectors was
29      * updated
30      *
31      * @param node
32      *            the network node
33      */
34     public void nodeConnectorStatisticsUpdated(Node node, List<NodeConnectorStatistics> ncStatsList);
35
36     /**
37      * Notifies the hardware view of the specified network node tables was
38      * updated
39      *
40      * @param node
41      *            the network node
42      */
43     public void nodeTableStatisticsUpdated(Node node, List<NodeTableStatistics> tableStatsList);
44
45     /**
46      * Notifies the hardware view of all the flow installed on the specified
47      * network node was updated
48      *
49      * @param node
50      *            the network node
51      */
52     public void nodeDescriptionStatisticsUpdated(Node node, NodeDescription nodeDescription);
53 }