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

public class NodeListener extends Object implements org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<FlowCapableNode>, AutoCloseable
  • Field Details

  • Constructor Details

    • NodeListener

      public NodeListener(org.opendaylight.mdsal.binding.api.DataBroker broker)
  • Method Details

    • start

      public void start()
    • close

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

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

      public Map<Long,String> getDpnIdToNameCache()