Class LearningSwitchHandlerSimpleImpl
java.lang.Object
org.opendaylight.openflowplugin.learningswitch.LearningSwitchHandlerSimpleImpl
- All Implemented Interfaces:
- org.opendaylight.mdsal.binding.api.NotificationService.Listener<PacketReceived>,- LearningSwitchHandler
public class LearningSwitchHandlerSimpleImpl
extends Object
implements LearningSwitchHandler, org.opendaylight.mdsal.binding.api.NotificationService.Listener<PacketReceived>
Simple Learning Switch implementation which does mac learning for one switch.
- 
Constructor SummaryConstructorsConstructorDescriptionLearningSwitchHandlerSimpleImpl(@NonNull FlowCommitWrapper dataStoreAccessor, @NonNull TransmitPacket transmitPacket, @Nullable DataTreeChangeListenerRegistrationHolder registrationPublisher) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidonNotification(PacketReceived notification) voidonSwitchAppeared(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Table> appearedTablePath) Invoked when a switch appears.
- 
Constructor Details- 
LearningSwitchHandlerSimpleImplpublic LearningSwitchHandlerSimpleImpl(@NonNull FlowCommitWrapper dataStoreAccessor, @NonNull TransmitPacket transmitPacket, @Nullable DataTreeChangeListenerRegistrationHolder registrationPublisher) 
 
- 
- 
Method Details- 
onSwitchAppearedpublic void onSwitchAppeared(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Table> appearedTablePath) Description copied from interface:LearningSwitchHandlerInvoked when a switch appears.- Specified by:
- onSwitchAppearedin interface- LearningSwitchHandler
- Parameters:
- appearedTablePath- the table path
 
- 
onNotification- Specified by:
- onNotificationin interface- org.opendaylight.mdsal.binding.api.NotificationService.Listener<PacketReceived>
 
 
-