Class SampleFlowCapableNodeListener

java.lang.Object
org.opendaylight.openflowplugin.samples.sample.bundles.SampleFlowCapableNodeListener
All Implemented Interfaces:
AutoCloseable, EventListener, org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<FlowCapableNode>, org.opendaylight.mdsal.binding.api.DataTreeChangeListener<FlowCapableNode>

public class SampleFlowCapableNodeListener extends Object implements org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<FlowCapableNode>, AutoCloseable
Sample DataTreeChangeListener.
  • Constructor Details

    • SampleFlowCapableNodeListener

      public SampleFlowCapableNodeListener(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, SalBundleService bundleService)
  • Method Details

    • close

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

      public void init()
    • onDataTreeChanged

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