Class AbstractListeningCommiter<T extends org.opendaylight.yangtools.yang.binding.DataObject>

java.lang.Object
org.opendaylight.openflowplugin.applications.frm.impl.AbstractListeningCommiter<T>
All Implemented Interfaces:
AutoCloseable, EventListener, org.opendaylight.mdsal.binding.api.ClusteredDataTreeChangeListener<T>, org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T>, ForwardingRulesCommiter<T>, org.opendaylight.serviceutils.srm.RecoverableListener
Direct Known Subclasses:
FlowForwarder, GroupForwarder, MeterForwarder, TableForwarder

public abstract class AbstractListeningCommiter<T extends org.opendaylight.yangtools.yang.binding.DataObject> extends Object implements ForwardingRulesCommiter<T>, org.opendaylight.serviceutils.srm.RecoverableListener
AbstractChangeListner implemented basic DataTreeModification processing for flow node subDataObject (flows, groups and meters).
  • Field Details

    • dataBroker

      protected final org.opendaylight.mdsal.binding.api.DataBroker dataBroker
  • Constructor Details

  • Method Details

    • onDataTreeChanged

      public void onDataTreeChanged(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<T>> changes)
      Specified by:
      onDataTreeChanged in interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener<T extends org.opendaylight.yangtools.yang.binding.DataObject>
    • registerListener

      public final void registerListener()
      Specified by:
      registerListener in interface org.opendaylight.serviceutils.srm.RecoverableListener
    • deregisterListener

      public void deregisterListener()
      Specified by:
      deregisterListener in interface org.opendaylight.serviceutils.srm.RecoverableListener
    • close

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

      protected abstract org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> getWildCardPath()
      Method return wildCardPath for Listener registration and for identify the correct KeyInstanceIdentifier from data.