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)
LearningSwitchHandleronSwitchAppeared in interface LearningSwitchHandlerappearedTablePath - the table pathpublic void onPacketReceived(PacketReceived notification)
PacketProcessingListeneronPacketReceived in interface PacketProcessingListenerCopyright © 2019 OpenDaylight. All rights reserved.