1 package org.opendaylight.controller.protocol_plugin.openflow;
5 import org.openflow.protocol.statistics.OFStatistics;
8 * Interface which defines the notification functions which will get called when
9 * the information contained in the OF statistics reply message received from a
10 * network node is different from the cached one.
12 public interface IOFStatisticsListener {
14 * Notifies that a new list of description statistics objects for the given
18 * The datapath id of the openflow switch
20 * The new list of description statistics objects
22 public void descriptionStatisticsRefreshed(Long switchId, List<OFStatistics> description);
25 * Notifies that a new list of flows statistics objects for the given switch
29 * The datapath id of the openflow switch
31 * The new list of flow statistics objects
33 public void flowStatisticsRefreshed(Long switchId, List<OFStatistics> flows);
36 * Notifies that a new list of port statistics objects for the given switch
40 * The datapath id of the openflow switch
42 * The new list of port statistics objects
44 public void portStatisticsRefreshed(Long switchId, List<OFStatistics> ports);
47 * Notifies that a new list of table statistics objects for the given switch
51 * The datapath id of the openflow switch
53 * The new list of table statistics objects
55 public void tableStatisticsRefreshed(Long switchId, List<OFStatistics> tables);