1 package org.opendaylight.controller.protocol_plugin.openflow;
5 import org.openflow.protocol.statistics.OFStatistics;
8 * @file IStatisticsShimListener.java
10 * @brief Statistics notifications provided by SAL toward the application
12 * For example an application that wants to keep up to date with the
13 * updates coming from SAL it will register in the OSGi service
14 * registry this interface (on a per-container base) and SAL will call it
15 * providing the update
19 * Statistics notifications provided by SAL toward the application
22 public interface IStatisticsServiceShimListener {
25 * Called to update statistics
31 public void flowStatisticsUpdate(Long switchId,
32 List<OFStatistics> value, String containerName);
34 public void descStatisticsUpdate(Long switchId,
35 List<OFStatistics> value, String containerName);
37 public void portStatisticsUpdate(Long switchId,
38 List<OFStatistics> value, String containerName);
40 public void flowTableStatisticsUpdate(Long switchId,
41 List<OFStatistics> value, String containerName);