Class SampleFlowCapableNodeListener

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

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

    • SampleFlowCapableNodeListener

      @Inject public SampleFlowCapableNodeListener(org.opendaylight.mdsal.binding.api.DataBroker dataBroker, org.opendaylight.mdsal.binding.api.RpcService rpcService)
  • Method Details

    • close

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

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