blob: 88806ef2679334c4fee7e161eee0e299c6af22c1 [file] [log] [blame]
package net.onrc.onos.ofcontroller.networkgraph;
/**
* Interface which needs to be implemented to receive Topology events from
* NetworkGraph
*
* TODO Should these interface hand over Event object or Object in NetworkGraph.
*/
public interface INetworkGraphListener {
public void putSwitchEvent(SwitchEvent switchEvent);
public void removeSwitchEvent(SwitchEvent switchEvent);
public void putPortEvent(PortEvent portEvent);
public void removePortEvent(PortEvent portEvent);
public void putLinkEvent(LinkEvent linkEvent);
public void removeLinkEvent(LinkEvent linkEvent);
public void putDeviceEvent(DeviceEvent deviceEvent);
public void removeDeviceEvent(DeviceEvent deviceEvent);
}