Merge "BUG-2329 Add test for anyxmls inside rpc resonse for netcfon-connector"
[controller.git] / opendaylight / adsal / protocol_plugins / openflow / src / main / java / org / opendaylight / controller / protocol_plugin / openflow / IReadFilterInternalListener.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. 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 package org.opendaylight.controller.protocol_plugin.openflow;
9
10 import java.util.List;
11
12 import org.opendaylight.controller.sal.core.Node;
13 import org.opendaylight.controller.sal.reader.FlowOnNode;
14 import org.opendaylight.controller.sal.reader.NodeConnectorStatistics;
15 import org.opendaylight.controller.sal.reader.NodeDescription;
16 import org.opendaylight.controller.sal.reader.NodeTableStatistics;
17
18 /**
19  * The Interface provides notification of statistics (hardware view) updates to
20  * ReaderFilter listeners within the protocol plugin
21  */
22 public interface IReadFilterInternalListener {
23
24     /**
25      * Notifies the hardware view of all the flow installed on the specified
26      * network node was updated
27      *
28      * @param node
29      *            the network node
30      * @param flowStatsList
31      */
32     public void nodeFlowStatisticsUpdated(Node node, List<FlowOnNode> flowStatsList);
33
34     /**
35      * Notifies the hardware view of the specified network node connectors was
36      * updated
37      *
38      * @param node
39      *            the network node
40      */
41     public void nodeConnectorStatisticsUpdated(Node node, List<NodeConnectorStatistics> ncStatsList);
42
43     /**
44      * Notifies the hardware view of the specified network node tables was
45      * updated
46      *
47      * @param node
48      *            the network node
49      */
50     public void nodeTableStatisticsUpdated(Node node, List<NodeTableStatistics> tableStatsList);
51
52     /**
53      * Notifies the hardware view of all the flow installed on the specified
54      * network node was updated
55      *
56      * @param node
57      *            the network node
58      */
59     public void nodeDescriptionStatisticsUpdated(Node node, NodeDescription nodeDescription);
60 }