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
Constructors Constructor Description NodeConnectorInventoryEventTranslator(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, NodeConnectorEventsObserver... observers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
onDataTreeChanged(@NonNull Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<T>> modifications)
-
-
-
Constructor Detail
-
NodeConnectorInventoryEventTranslator
public NodeConnectorInventoryEventTranslator(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, NodeConnectorEventsObserver... observers)
-
-
Method Detail
-
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>
-
-