Class NodeConnectorInventoryEventTranslator<T extends org.opendaylight.yangtools.binding.DataObject>
java.lang.Object
org.opendaylight.openflowplugin.applications.lldpspeaker.NodeConnectorInventoryEventTranslator<T>
- All Implemented Interfaces:
AutoCloseable
,org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T>
public final class NodeConnectorInventoryEventTranslator<T extends org.opendaylight.yangtools.binding.DataObject>
extends Object
implements org.opendaylight.mdsal.binding.api.DataTreeChangeListener<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 List<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 List<org.opendaylight.mdsal.binding.api.DataTreeModification<T>> modifications) - Specified by:
onDataTreeChanged
in interfaceorg.opendaylight.mdsal.binding.api.DataTreeChangeListener<T extends org.opendaylight.yangtools.binding.DataObject>
-