blob: 87edb28778152735ad75cdaf707df7a219ae2da0 [file] [log] [blame]
Jonathan Hart22eb9882014-02-11 15:52:59 -08001package net.onrc.onos.ofcontroller.networkgraph;
2
Pavlin Radoslavov6ea84a42014-02-19 15:50:01 -08003/**
4 * Interface used by the Topology Discovery module to write topology-related
5 * events.
6 */
Jonathan Hart22eb9882014-02-11 15:52:59 -08007public interface NetworkGraphDiscoveryInterface {
Pavlin Radoslavov6ea84a42014-02-19 15:50:01 -08008 /**
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 Hart22eb9882014-02-11 15:52:59 -080063}