X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fprotocol_plugins%2Fopenflow%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fprotocol_plugin%2Fopenflow%2FIStatisticsListener.java;fp=opendaylight%2Fprotocol_plugins%2Fopenflow%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fprotocol_plugin%2Fopenflow%2FIStatisticsListener.java;h=4f15a1055a324b74d11a6454ebe4ccb8292a979e;hb=cffdfafd2b23b24025f5ba4b32f16bca501bfeb5;hp=0000000000000000000000000000000000000000;hpb=f7f47649dc420bd56ac0e54557dcbdfc115ae209;p=controller.git diff --git a/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/IStatisticsListener.java b/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/IStatisticsListener.java new file mode 100644 index 0000000000..4f15a1055a --- /dev/null +++ b/opendaylight/protocol_plugins/openflow/src/main/java/org/opendaylight/controller/protocol_plugin/openflow/IStatisticsListener.java @@ -0,0 +1,13 @@ +package org.opendaylight.controller.protocol_plugin.openflow; + +import org.openflow.protocol.statistics.OFDescriptionStatistics; + +/** + * Interface which defines the api which gets called when the information + * contained in the OF description statistics reply message from a network + * is updated with new one. + */ +public interface IStatisticsListener { + public void descriptionRefreshed(Long switchId, + OFDescriptionStatistics description); +}