Class SubnetmapListener
- java.lang.Object
-
- org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Subnetmap,SubnetmapListener>
-
- org.opendaylight.netvirt.natservice.internal.SubnetmapListener
-
- 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 SubnetmapListener extends org.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Subnetmap,SubnetmapListener>
-
-
Constructor Summary
Constructors Constructor Description SubnetmapListener(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, ExternalNetworkGroupInstaller externalNetworkGroupInstaller, NatServiceCounters natServiceCounters)
-
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 SubnetmapListener
getDataTreeChangeListener()
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Subnetmap>
getWildCardPath()
void
init()
protected void
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Subnetmap> identifier, Subnetmap subnetmap)
protected void
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Subnetmap> identifier, Subnetmap subnetmapBefore, Subnetmap subnetmapAfter)
-
-
-
Constructor Detail
-
SubnetmapListener
@Inject public SubnetmapListener(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, ExternalNetworkGroupInstaller externalNetworkGroupInstaller, NatServiceCounters natServiceCounters)
-
-
Method Detail
-
init
@PostConstruct public void init()
- Overrides:
init
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Subnetmap,SubnetmapListener>
-
getWildCardPath
protected org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Subnetmap> getWildCardPath()
- Specified by:
getWildCardPath
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Subnetmap,SubnetmapListener>
-
remove
protected void remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Subnetmap> identifier, Subnetmap subnetmap)
- Specified by:
remove
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Subnetmap,SubnetmapListener>
-
update
protected void update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Subnetmap> identifier, Subnetmap subnetmapBefore, Subnetmap subnetmapAfter)
- Specified by:
update
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Subnetmap,SubnetmapListener>
-
add
protected void add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Subnetmap> identifier, Subnetmap subnetmap)
- Specified by:
add
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Subnetmap,SubnetmapListener>
-
getDataTreeChangeListener
protected SubnetmapListener getDataTreeChangeListener()
- Specified by:
getDataTreeChangeListener
in classorg.opendaylight.genius.datastoreutils.AsyncDataTreeChangeListenerBase<Subnetmap,SubnetmapListener>
-
-