Class NodeConnectorInventoryEventTranslator
java.lang.Object
org.opendaylight.openflowplugin.applications.lldpspeaker.NodeConnectorInventoryEventTranslator
- All Implemented Interfaces:
AutoCloseable
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNodeConnector>
public final class NodeConnectorInventoryEventTranslator
extends Object
implements org.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNodeConnector>, AutoCloseable
NodeConnectorInventoryEventTranslator is listening for changes in inventory operational DOM tree
and update LLDPSpeaker and topology.
-
Constructor Summary
ConstructorsConstructorDescriptionNodeConnectorInventoryEventTranslator
(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, NodeConnectorEventsObserver... observers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
onDataTreeChanged
(List<org.opendaylight.mdsal.binding.api.DataTreeModification<FlowCapableNodeConnector>> modifications) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener
onInitialData
-
Constructor Details
-
NodeConnectorInventoryEventTranslator
public NodeConnectorInventoryEventTranslator(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, NodeConnectorEventsObserver... observers)
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
onDataTreeChanged
public void onDataTreeChanged(List<org.opendaylight.mdsal.binding.api.DataTreeModification<FlowCapableNodeConnector>> modifications) - Specified by:
onDataTreeChanged
in interfaceorg.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNodeConnector>
-