Jonathan Hart | 22eb988 | 2014-02-11 15:52:59 -0800 | [diff] [blame^] | 1 | package net.onrc.onos.ofcontroller.networkgraph; |
| 2 | |
| 3 | import java.net.InetAddress; |
| 4 | import java.util.Set; |
| 5 | |
| 6 | public interface NetworkGraphDiscoveryInterface { |
| 7 | public void putSwitchEvent(SwitchEvent switchEvent); |
| 8 | public void removeSwitchEvent(SwitchEvent switchEvent); |
| 9 | public void putPortEvent(PortEvent portEvent); |
| 10 | public void removePortEvent(PortEvent portEvent); |
| 11 | public void putLinkEvent(LinkEvent linkEvent); |
| 12 | public void removeLinkEvent(LinkEvent linkEvent); |
| 13 | public void updateDeviceEvent(DeviceEvent deviceToUpdate, |
| 14 | Set<InetAddress> updatedIpAddrs, Set<Port> updatedAttachmentPoints); |
| 15 | public void removeDeviceEvent(DeviceEvent deviceEvent); |
| 16 | } |