public class LearningSwitchHandlerSimpleImpl extends Object implements LearningSwitchHandler, PacketProcessingListener
Constructor and Description |
---|
LearningSwitchHandlerSimpleImpl(FlowCommitWrapper dataStoreAccessor,
PacketProcessingService packetProcessingService,
DataTreeChangeListenerRegistrationHolder registrationPublisher) |
Modifier and Type | Method and Description |
---|---|
void |
onPacketReceived(PacketReceived notification)
Delivery of incoming packet wrapped in openflow structure.
|
void |
onSwitchAppeared(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Table> appearedTablePath)
Invoked when a switch appears.
|
public LearningSwitchHandlerSimpleImpl(@Nonnull FlowCommitWrapper dataStoreAccessor, @Nonnull PacketProcessingService packetProcessingService, @Nullable DataTreeChangeListenerRegistrationHolder registrationPublisher)
public void onSwitchAppeared(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Table> appearedTablePath)
LearningSwitchHandler
onSwitchAppeared
in interface LearningSwitchHandler
appearedTablePath
- the table pathpublic void onPacketReceived(PacketReceived notification)
PacketProcessingListener
onPacketReceived
in interface PacketProcessingListener
Copyright © 2019 OpenDaylight. All rights reserved.