Class SubnetmapChangeListener

  • All Implemented Interfaces:
    java.lang.AutoCloseable, java.util.EventListener, org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener<Subnetmap>, org.opendaylight.serviceutils.tools.mdsal.listener.ChainableDataTreeChangeListener<Subnetmap>

    @Singleton
    public class SubnetmapChangeListener
    extends org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Subnetmap,​SubnetmapChangeListener>
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase

        org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase.DataTreeChangeHandler
    • Field Summary

      • Fields inherited from class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase

        clazz
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void add​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Subnetmap> identifier, Subnetmap subnetmap)  
      protected SubnetmapChangeListener getDataTreeChangeListener()  
      protected long getElanTag​(java.lang.String elanInstanceName)  
      protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Subnetmap> getWildCardPath()  
      protected void remove​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Subnetmap> identifier, Subnetmap subnetmap)  
      void start()  
      protected void update​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Subnetmap> identifier, Subnetmap subnetmapOriginal, Subnetmap subnetmapUpdate)  
      • Methods inherited from class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase

        addAfterListener, addBeforeListener, close, deregisterListener, init, onDataTreeChanged, registerListener
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SubnetmapChangeListener

        @Inject
        public SubnetmapChangeListener​(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
                                       VpnSubnetRouteHandler vpnSubnetRouteHandler,
                                       VpnUtil vpnUtil,
                                       IVpnManager vpnManager)
    • Method Detail

      • start

        @PostConstruct
        public void start()
      • getWildCardPath

        protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Subnetmap> getWildCardPath()
        Specified by:
        getWildCardPath in class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Subnetmap,​SubnetmapChangeListener>
      • add

        protected void add​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Subnetmap> identifier,
                           Subnetmap subnetmap)
        Specified by:
        add in class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Subnetmap,​SubnetmapChangeListener>
      • remove

        protected void remove​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Subnetmap> identifier,
                              Subnetmap subnetmap)
        Specified by:
        remove in class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Subnetmap,​SubnetmapChangeListener>
      • update

        protected void update​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Subnetmap> identifier,
                              Subnetmap subnetmapOriginal,
                              Subnetmap subnetmapUpdate)
        Specified by:
        update in class org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Subnetmap,​SubnetmapChangeListener>
      • getElanTag

        protected long getElanTag​(java.lang.String elanInstanceName)