Class NodeConnectorInventoryEventTranslator<T extends org.opendaylight.yangtools.yang.binding.DataObject>
java.lang.Object
org.opendaylight.openflowplugin.applications.lldpspeaker.NodeConnectorInventoryEventTranslator<T>
- All Implemented Interfaces:
AutoCloseable
,EventListener
,org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<T>
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T>
public class NodeConnectorInventoryEventTranslator<T extends org.opendaylight.yangtools.yang.binding.DataObject>
extends Object
implements org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<T>, AutoCloseable
NodeConnectorInventoryEventTranslator is listening for changes in inventory operational DOM tree
and update LLDPSpeaker and topology.
-
Constructor Summary
ConstructorDescriptionNodeConnectorInventoryEventTranslator
(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, NodeConnectorEventsObserver... observers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
onDataTreeChanged
(@NonNull Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<T>> 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(@NonNull Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<T>> modifications) - Specified by:
onDataTreeChanged
in interfaceorg.opendaylight.mdsal.binding.api.DataTreeChangeListener<T extends org.opendaylight.yangtools.yang.binding.DataObject>
-