blob: 88806ef2679334c4fee7e161eee0e299c6af22c1 [file] [log] [blame]
Yuta HIGUCHIa536e762014-02-17 21:47:28 -08001package net.onrc.onos.ofcontroller.networkgraph;
2
3/**
4 * Interface which needs to be implemented to receive Topology events from
5 * NetworkGraph
6 *
7 * TODO Should these interface hand over Event object or Object in NetworkGraph.
8 */
9public interface INetworkGraphListener {
10 public void putSwitchEvent(SwitchEvent switchEvent);
11 public void removeSwitchEvent(SwitchEvent switchEvent);
12
13 public void putPortEvent(PortEvent portEvent);
14 public void removePortEvent(PortEvent portEvent);
15
16 public void putLinkEvent(LinkEvent linkEvent);
17 public void removeLinkEvent(LinkEvent linkEvent);
18
19 public void putDeviceEvent(DeviceEvent deviceEvent);
20 public void removeDeviceEvent(DeviceEvent deviceEvent);
21
22}