Yuta HIGUCHI | a536e76 | 2014-02-17 21:47:28 -0800 | [diff] [blame^] | 1 | package 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 | */ |
| 9 | public 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 | } |