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 LearningSwitchManager
notificationService
- the notificationService to setpublic void setPacketProcessingService(PacketProcessingService packetProcessingService)
setPacketProcessingService
in interface LearningSwitchManager
packetProcessingService
- the packetProcessingService to setpublic void setDataBroker(org.opendaylight.controller.md.sal.binding.api.DataBroker broker)
setDataBroker
in interface LearningSwitchManager
public void start()
start
in interface LearningSwitchManager
public void stop()
stop
in interface LearningSwitchManager
public org.opendaylight.yangtools.concepts.ListenerRegistration<org.opendaylight.controller.md.sal.binding.api.DataTreeChangeListener> getDataTreeChangeListenerRegistration()
DataTreeChangeListenerRegistrationHolder
getDataTreeChangeListenerRegistration
in interface DataTreeChangeListenerRegistrationHolder
Copyright © 2018 OpenDaylight. All rights reserved.