Class NodeConnectorInventoryEventTranslator<T extends org.opendaylight.yangtools.yang.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.yang.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 Details

    • NodeConnectorInventoryEventTranslator

      public NodeConnectorInventoryEventTranslator(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, NodeConnectorEventsObserver... observers)
  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • onDataTreeChanged

      public void onDataTreeChanged(@NonNull List<org.opendaylight.mdsal.binding.api.DataTreeModification<T>> modifications)
      Specified by:
      onDataTreeChanged in interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T extends org.opendaylight.yangtools.yang.binding.DataObject>