Performacne improvements via adding a netty-based openflowj and openflow plugin;...
[controller.git] / opendaylight / protocol_plugins / openflow_netty / src / main / java / org / opendaylight / controller / protocol_plugin / openflow / IStatisticsServiceShimListener.java
1 package org.opendaylight.controller.protocol_plugin.openflow;
2
3 import java.util.List;
4
5 import org.openflow.protocol.statistics.OFStatistics;
6
7 /**
8  * @file   IStatisticsShimListener.java
9  *
10  * @brief  Statistics notifications provided by SAL toward the application
11  *
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
16  */
17
18 /**
19  * Statistics notifications provided by SAL toward the application
20  *
21  */
22 public interface IStatisticsServiceShimListener {
23
24     /**
25      * Called to update statistics
26      *
27      * @param
28      * @param
29      * @param
30      */
31     public void flowStatisticsUpdate(Long switchId,
32                         List<OFStatistics> value, String containerName);
33
34     public void descStatisticsUpdate(Long switchId,
35                         List<OFStatistics> value, String containerName);
36
37     public void portStatisticsUpdate(Long switchId,
38                         List<OFStatistics> value, String containerName);
39
40     public void flowTableStatisticsUpdate(Long switchId,
41                         List<OFStatistics> value, String containerName);
42
43 }