Class NatSwitchCacheListenerImpl
- java.lang.Object
-
- org.opendaylight.netvirt.natservice.internal.NatSwitchCacheListenerImpl
-
- All Implemented Interfaces:
NatSwitchCacheListener
@Singleton public class NatSwitchCacheListenerImpl extends java.lang.Object implements NatSwitchCacheListener
-
-
Constructor Summary
Constructors Constructor Description NatSwitchCacheListenerImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, SNATDefaultRouteProgrammer snatDefaultRouteProgrammer, NatSwitchCache natSwitchCache, NatserviceConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
switchAddedToCache(SwitchInfo switchInfo)
Switch is added.void
switchRemovedFromCache(SwitchInfo switchInfo)
Switch is removed.
-
-
-
Constructor Detail
-
NatSwitchCacheListenerImpl
@Inject public NatSwitchCacheListenerImpl(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, SNATDefaultRouteProgrammer snatDefaultRouteProgrammer, NatSwitchCache natSwitchCache, NatserviceConfig config)
-
-
Method Detail
-
switchAddedToCache
public void switchAddedToCache(SwitchInfo switchInfo)
Description copied from interface:NatSwitchCacheListener
Switch is added.- Specified by:
switchAddedToCache
in interfaceNatSwitchCacheListener
- Parameters:
switchInfo
- the switch details.
-
switchRemovedFromCache
public void switchRemovedFromCache(SwitchInfo switchInfo)
Description copied from interface:NatSwitchCacheListener
Switch is removed.- Specified by:
switchRemovedFromCache
in interfaceNatSwitchCacheListener
- Parameters:
switchInfo
- the switch details.
-
-