public class ProtectionConfigMonitor.ProtectionConfigListener extends Object implements org.onosproject.net.config.NetworkConfigListener
ProtectionConfig to install/remove.| Constructor and Description |
|---|
ProtectionConfigListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
event(org.onosproject.net.config.NetworkConfigEvent event) |
boolean |
isRelevant(org.onosproject.net.config.NetworkConfigEvent event) |
protected void |
processEvent(org.onosproject.net.config.NetworkConfigEvent event)
Process
ProtectionConfig add/update/remove event. |
public boolean isRelevant(org.onosproject.net.config.NetworkConfigEvent event)
isRelevant in interface org.onosproject.event.EventFilter<org.onosproject.net.config.NetworkConfigEvent>public void event(org.onosproject.net.config.NetworkConfigEvent event)
event in interface org.onosproject.event.EventListener<org.onosproject.net.config.NetworkConfigEvent>protected void processEvent(org.onosproject.net.config.NetworkConfigEvent event)
ProtectionConfig add/update/remove event.
Note: will be executed in the worker thread.
event - ProtectionConfig add/update/remove event