Make sure invokeOperation is set once
[controller.git] / opendaylight / adsal / sal / api / src / main / java / org / opendaylight / controller / sal / reader / IPluginOutReadService.java
1
2 /*
3  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
4  *
5  * This program and the accompanying materials are made available under the
6  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  * and is available at http://www.eclipse.org/legal/epl-v10.html
8  */
9
10 package org.opendaylight.controller.sal.reader;
11
12 import java.util.List;
13
14 import org.opendaylight.controller.sal.core.Node;
15
16 /**
17  * The interface defines hardware statistics updates service to be offered by
18  * protocol plugins
19  */
20 @Deprecated
21 public interface IPluginOutReadService {
22
23     /**
24      * Notifies the hardware view of all the flow installed on the specified
25      * network node
26      *
27      * @param node
28      *            the network node
29      *            {@link org.opendaylight.controller.sal.core.Node}
30      * @param flowStatsList
31      *            the hardware view of all the flow
32      *            {@link org.opendaylight.controller.sal.reader.FlowOnNode}
33      *            installed on the specified network node
34      */
35     public void nodeFlowStatisticsUpdated(Node node, List<FlowOnNode> flowStatsList);
36
37     /**
38      * Notifies the hardware view of the specified network node
39      *
40      * @param node
41      *            the network node
42      *            {@link org.opendaylight.controller.sal.core.Node}
43      * @param ncStatsList
44      *            the statistics
45      *            {@link org.opendaylight.controller.sal.reader.NodeConnectorStatistics}
46      *            for all node connectors in a given node
47      */
48     public void nodeConnectorStatisticsUpdated(Node node, List<NodeConnectorStatistics> ncStatsList);
49
50     /**
51      * Notifies all the table statistics for a node
52      *
53      * @param node
54      *            the network node
55      *            {@link org.opendaylight.controller.sal.core.Node}
56      * @param tableStatsList
57      *            the statistics
58      *            {@link org.opendaylight.controller.sal.reader.NodeTableStatistics}
59      *            for all the tables in a given node
60      */
61     public void nodeTableStatisticsUpdated(Node node, List<NodeTableStatistics> tableStatsList);
62
63     /**
64      * Notifies the hardware view of node description changes
65      *
66      * @param node
67      *            the network node
68      *            {@link org.opendaylight.controller.sal.core.Node}
69      * @param nodeDescription
70      *            the node description
71      *            {@link org.opendaylight.controller.sal.reader.NodeDescription}
72      */
73     public void descriptionStatisticsUpdated(Node node, NodeDescription nodeDescription );
74
75 }