1c22966299356d1998d2a0cad2aa225ba06504f0
[controller.git] / opendaylight / protocol_plugins / openflow / src / main / java / org / opendaylight / controller / protocol_plugin / openflow / IOFStatisticsListener.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  * Interface defines the api which gets called when the information
9  * contained in the OF statistics reply message from a network is updated with
10  * new one.
11  */
12 public interface IOFStatisticsListener {
13     public void descriptionStatisticsRefreshed(Long switchId, List<OFStatistics> description);
14
15     public void flowStatisticsRefreshed(Long switchId, List<OFStatistics> flows);
16
17     public void portStatisticsRefreshed(Long switchId, List<OFStatistics> ports);
18
19     public void tableStatisticsRefreshed(Long switchId, List<OFStatistics> tables);
20 }