java.lang.Object
org.opendaylight.openflowplugin.applications.southboundcli.DefaultDpnTracker
All Implemented Interfaces:
AutoCloseable, org.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNode>, DpnTracker

@Singleton public final class DefaultDpnTracker extends Object implements DpnTracker, org.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNode>, AutoCloseable
  • Field Details

  • Constructor Details

    • DefaultDpnTracker

      @Inject public DefaultDpnTracker(org.opendaylight.mdsal.binding.api.DataBroker dataBroker)
  • Method Details

    • close

      @PreDestroy public void close()
      Specified by:
      close in interface AutoCloseable
    • currentNodes

      public List<OFNode> currentNodes()
      Specified by:
      currentNodes in interface DpnTracker
    • onDataTreeChanged

      public void onDataTreeChanged(List<org.opendaylight.mdsal.binding.api.DataTreeModification<FlowCapableNode>> changes)
      Specified by:
      onDataTreeChanged in interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNode>