Yuta HIGUCHI | a536e76 | 2014-02-17 21:47:28 -0800 | [diff] [blame] | 1 | package net.onrc.onos.ofcontroller.networkgraph; |
| 2 | |
Pavlin Radoslavov | 74986ce | 2014-02-20 13:17:20 -0800 | [diff] [blame] | 3 | import java.util.Collection; |
| 4 | |
Yuta HIGUCHI | a536e76 | 2014-02-17 21:47:28 -0800 | [diff] [blame] | 5 | /** |
| 6 | * Interface which needs to be implemented to receive Topology events from |
Pavlin Radoslavov | 74986ce | 2014-02-20 13:17:20 -0800 | [diff] [blame] | 7 | * the NetworkGraph. |
Yuta HIGUCHI | a536e76 | 2014-02-17 21:47:28 -0800 | [diff] [blame] | 8 | */ |
| 9 | public interface INetworkGraphListener { |
Pavlin Radoslavov | 74986ce | 2014-02-20 13:17:20 -0800 | [diff] [blame] | 10 | /** |
| 11 | * Network Graph events. |
| 12 | * |
| 13 | * @param addedSwitchEvents the Added Switch Events. |
| 14 | * @param removedSwitchEvents the Removed Switch Events. |
| 15 | * @param addedPortEvents the Added Port Events. |
| 16 | * @param removedPortEvents the Removed Port Events. |
| 17 | * @param addedLinkEvents the Added Link Events. |
| 18 | * @param removedLinkEvents the Removed Link Events. |
| 19 | * @param addedDeviceEvents the Added Device Events. |
| 20 | * @param removedDeviceEvents the Removed Device Events. |
| 21 | */ |
| 22 | public void networkGraphEvents(Collection<SwitchEvent> addedSwitchEvents, |
| 23 | Collection<SwitchEvent> removedSwitchEvents, |
| 24 | Collection<PortEvent> addedPortEvents, |
| 25 | Collection<PortEvent> removedPortEvents, |
| 26 | Collection<LinkEvent> addedLinkEvents, |
| 27 | Collection<LinkEvent> removedLinkEvents, |
| 28 | Collection<DeviceEvent> addedDeviceEvents, |
| 29 | Collection<DeviceEvent> removedDeviceEvents); |
Yuta HIGUCHI | a536e76 | 2014-02-17 21:47:28 -0800 | [diff] [blame] | 30 | } |