public class LearningSwitchManagerSimpleImpl extends Object implements DataTreeChangeListenerRegistrationHolder, LearningSwitchManager
| Constructor and Description |
|---|
LearningSwitchManagerSimpleImpl() |
| Modifier and Type | Method and Description |
|---|---|
org.opendaylight.yangtools.concepts.ListenerRegistration<org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener> |
getDataTreeChangeListenerRegistration()
Returns the DataTreeChangeListenerRegistration.
|
void |
setDataBroker(org.opendaylight.controller.md.sal.binding.api.DataBroker broker)
Sets the DataBroker.
|
void |
setNotificationService(org.opendaylight.controller.sal.binding.api.NotificationService notificationService)
Sets the NotificationService.
|
void |
setPacketProcessingService(PacketProcessingService packetProcessingService)
Sets the PacketProcessingService.
|
void |
start()
Starts learning switch.
|
void |
stop()
Stops the learning switch.
|
public void setNotificationService(org.opendaylight.controller.sal.binding.api.NotificationService notificationService)
setNotificationService in interface LearningSwitchManagernotificationService - the notificationService to setpublic void setPacketProcessingService(PacketProcessingService packetProcessingService)
setPacketProcessingService in interface LearningSwitchManagerpacketProcessingService - the packetProcessingService to setpublic void setDataBroker(org.opendaylight.controller.md.sal.binding.api.DataBroker broker)
setDataBroker in interface LearningSwitchManagerpublic void start()
start in interface LearningSwitchManagerpublic void stop()
stop in interface LearningSwitchManagerpublic org.opendaylight.yangtools.concepts.ListenerRegistration<org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener> getDataTreeChangeListenerRegistration()
DataTreeChangeListenerRegistrationHoldergetDataTreeChangeListenerRegistration in interface DataTreeChangeListenerRegistrationHolderCopyright © 2019 OpenDaylight. All rights reserved.