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 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(List<org.opendaylight.mdsal.binding.api.DataTreeModification<FlowCapableNodeConnector>> modifications)
      Specified by:
      onDataTreeChanged in interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNodeConnector>