X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fprotocol_plugins%2Fopenflow_netty%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fprotocol_plugin%2Fopenflow%2FIStatisticsServiceShimListener.java;fp=opendaylight%2Fprotocol_plugins%2Fopenflow_netty%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fprotocol_plugin%2Fopenflow%2FIStatisticsServiceShimListener.java;h=110523977c109f8eacfd85554d704f5febc9e70b;hb=85073423c6069e4b58fffde7cf19c806b2b52dd5;hp=0000000000000000000000000000000000000000;hpb=c5630f2945eb5370f9829514ef72de41d41eb2be;p=controller.git diff --git a/opendaylight/protocol_plugins/openflow_netty/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/IStatisticsServiceShimListener.java b/opendaylight/protocol_plugins/openflow_netty/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/IStatisticsServiceShimListener.java new file mode 100644 index 0000000000..110523977c --- /dev/null +++ b/opendaylight/protocol_plugins/openflow_netty/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/IStatisticsServiceShimListener.java @@ -0,0 +1,43 @@ +package org.opendaylight.controller.protocol_plugin.openflow; + +import java.util.List; + +import org.openflow.protocol.statistics.OFStatistics; + +/** + * @file IStatisticsShimListener.java + * + * @brief Statistics notifications provided by SAL toward the application + * + * For example an application that wants to keep up to date with the + * updates coming from SAL it will register in the OSGi service + * registry this interface (on a per-container base) and SAL will call it + * providing the update + */ + +/** + * Statistics notifications provided by SAL toward the application + * + */ +public interface IStatisticsServiceShimListener { + + /** + * Called to update statistics + * + * @param + * @param + * @param + */ + public void flowStatisticsUpdate(Long switchId, + List value, String containerName); + + public void descStatisticsUpdate(Long switchId, + List value, String containerName); + + public void portStatisticsUpdate(Long switchId, + List value, String containerName); + + public void flowTableStatisticsUpdate(Long switchId, + List value, String containerName); + +}