blob: dfdba420da9ec71fa7aa1ec48b42964d5174dd04 [file] [log] [blame]
Yuta HIGUCHIa536e762014-02-17 21:47:28 -08001package net.onrc.onos.ofcontroller.networkgraph;
2
Pavlin Radoslavov74986ce2014-02-20 13:17:20 -08003import java.util.Collection;
4
Yuta HIGUCHIa536e762014-02-17 21:47:28 -08005/**
6 * Interface which needs to be implemented to receive Topology events from
Pavlin Radoslavov74986ce2014-02-20 13:17:20 -08007 * the NetworkGraph.
Yuta HIGUCHIa536e762014-02-17 21:47:28 -08008 */
9public interface INetworkGraphListener {
Pavlin Radoslavov74986ce2014-02-20 13:17:20 -080010 /**
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 HIGUCHIa536e762014-02-17 21:47:28 -080030}