public class FlowNotificationSupplierImpl extends AbstractNotificationSupplierForItem<Flow,FlowAdded,FlowUpdated,FlowRemoved>
Flow data object
and FlowAdded, FlowUpdated and FlowRemoved notifications.clazz| Constructor and Description |
|---|
FlowNotificationSupplierImpl(org.opendaylight.controller.sal.binding.api.NotificationProviderService notifProviderService,
org.opendaylight.controller.md.sal.binding.api.DataBroker db)
Constructor register supplier as DataTreeChangeListener and create wildCarded InstanceIdentifier.
|
| Modifier and Type | Method and Description |
|---|---|
FlowAdded |
createNotification(Flow dataTreeItemObject,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> path)
Method produces relevant addItem kind of
Notification from
data tree item identified by InstanceIdentifier path. |
FlowRemoved |
deleteNotification(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> path)
Method produces relevant deleteItem kind of
Notification from
path InstanceIdentifier to deleted item. |
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> |
getWildCardPath()
Method return wildCardPath for Listener registration and for identify
the correct KeyInstanceIdentifier from Data Tree Item in DataStore.
|
FlowUpdated |
updateNotification(Flow flow,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> path)
Method produces relevant updateItem kind of
Notification from
data tree item identified by InstanceIdentifier path. |
add, onDataTreeChanged, remove, updateclose, createNodeRef, getNodeId, getNodeII, getNodeWildIIclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic FlowNotificationSupplierImpl(org.opendaylight.controller.sal.binding.api.NotificationProviderService notifProviderService,
org.opendaylight.controller.md.sal.binding.api.DataBroker db)
notifProviderService - - NotificationProviderServicedb - - DataBrokerpublic org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> getWildCardPath()
NotificationSupplierDefinitionInstanceIdentifierpublic FlowAdded createNotification(Flow dataTreeItemObject, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> path)
NotificationSupplierForItemNotification from
data tree item identified by InstanceIdentifier path.dataTreeItemObject - - Data Tree Item objectpath - - Identifier of Data Tree ItemNotification - relevant API contract Notificationpublic FlowUpdated updateNotification(Flow flow, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> path)
NotificationSupplierForItemNotification from
data tree item identified by InstanceIdentifier path.flow - - Data Tree Item objectpath - - Identifier of Data Tree ItemNotification - relevant API contract Notificationpublic FlowRemoved deleteNotification(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Flow> path)
NotificationSupplierForItemNotification from
path InstanceIdentifier to deleted item.path - - Identifier of Data Tree ItemNotification - relevant API contract NotificationCopyright © 2019 OpenDaylight. All rights reserved.