Jonathan Hart | 22eb988 | 2014-02-11 15:52:59 -0800 | [diff] [blame] | 1 | package net.onrc.onos.ofcontroller.networkgraph; |
| 2 | |
Pavlin Radoslavov | 6ea84a4 | 2014-02-19 15:50:01 -0800 | [diff] [blame] | 3 | /** |
| 4 | * Interface used by the Topology Discovery module to write topology-related |
| 5 | * events. |
| 6 | */ |
Jonathan Hart | 22eb988 | 2014-02-11 15:52:59 -0800 | [diff] [blame] | 7 | public interface NetworkGraphDiscoveryInterface { |
Pavlin Radoslavov | 6ea84a4 | 2014-02-19 15:50:01 -0800 | [diff] [blame] | 8 | /** |
| 9 | * Switch discovered event. |
| 10 | * |
| 11 | * @param switchEvent the switch event. |
| 12 | */ |
| 13 | public void putSwitchDiscoveryEvent(SwitchEvent switchEvent); |
| 14 | |
| 15 | /** |
| 16 | * Switch removed event. |
| 17 | * |
| 18 | * @param switchEvent the switch event. |
| 19 | */ |
| 20 | public void removeSwitchDiscoveryEvent(SwitchEvent switchEvent); |
| 21 | |
| 22 | /** |
| 23 | * Port discovered event. |
| 24 | * |
| 25 | * @param portEvent the port event. |
| 26 | */ |
| 27 | public void putPortDiscoveryEvent(PortEvent portEvent); |
| 28 | |
| 29 | /** |
| 30 | * Port removed event. |
| 31 | * |
| 32 | * @param portEvent the port event. |
| 33 | */ |
| 34 | public void removePortDiscoveryEvent(PortEvent portEvent); |
| 35 | |
| 36 | /** |
| 37 | * Link discovered event. |
| 38 | * |
| 39 | * @param linkEvent the link event. |
| 40 | */ |
| 41 | public void putLinkDiscoveryEvent(LinkEvent linkEvent); |
| 42 | |
| 43 | /** |
| 44 | * Link removed event. |
| 45 | * |
| 46 | * @param linkEvent the link event. |
| 47 | */ |
| 48 | public void removeLinkDiscoveryEvent(LinkEvent linkEvent); |
| 49 | |
| 50 | /** |
| 51 | * Device discovered event. |
| 52 | * |
| 53 | * @param deviceEvent the device event. |
| 54 | */ |
| 55 | public void putDeviceDiscoveryEvent(DeviceEvent deviceEvent); |
| 56 | |
| 57 | /** |
| 58 | * Device removed event. |
| 59 | * |
| 60 | * @param deviceEvent the device event. |
| 61 | */ |
| 62 | public void removeDeviceDiscoveryEvent(DeviceEvent deviceEvent); |
Jonathan Hart | 22eb988 | 2014-02-11 15:52:59 -0800 | [diff] [blame] | 63 | } |