public class MeterNotificationSupplierImpl extends AbstractNotificationSupplierForItem<Meter,MeterAdded,MeterUpdated,MeterRemoved>
Meter
data object
and MeterAdded
, MeterUpdated
and MeterRemoved
notifications.clazz
Constructor and Description |
---|
MeterNotificationSupplierImpl(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 |
---|---|
MeterAdded |
createNotification(Meter dataTreeItemObject,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Meter> path)
Method produces relevant addItem kind of
Notification from
data tree item identified by InstanceIdentifier path. |
MeterRemoved |
deleteNotification(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Meter> path)
Method produces relevant deleteItem kind of
Notification from
path InstanceIdentifier to deleted item. |
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Meter> |
getWildCardPath()
Method return wildCardPath for Listener registration and for identify
the correct KeyInstanceIdentifier from Data Tree Item in DataStore.
|
MeterUpdated |
updateNotification(Meter meter,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Meter> path)
Method produces relevant updateItem kind of
Notification from
data tree item identified by InstanceIdentifier path. |
add, onDataTreeChanged, remove, update
close, createNodeRef, getNodeId, getNodeII, getNodeWildII
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public MeterNotificationSupplierImpl(org.opendaylight.controller.sal.binding.api.NotificationProviderService notifProviderService, org.opendaylight.controller.md.sal.binding.api.DataBroker db)
notifProviderService
- - NotificationProviderService
db
- - DataBroker
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Meter> getWildCardPath()
NotificationSupplierDefinition
InstanceIdentifier
public MeterAdded createNotification(Meter dataTreeItemObject, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Meter> path)
NotificationSupplierForItem
Notification
from
data tree item identified by InstanceIdentifier
path.dataTreeItemObject
- - Data Tree Item objectpath
- - Identifier of Data Tree ItemNotification
- relevant API contract Notificationpublic MeterUpdated updateNotification(Meter meter, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Meter> path)
NotificationSupplierForItem
Notification
from
data tree item identified by InstanceIdentifier
path.meter
- - Data Tree Item objectpath
- - Identifier of Data Tree ItemNotification
- relevant API contract Notificationpublic MeterRemoved deleteNotification(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Meter> path)
NotificationSupplierForItem
Notification
from
path InstanceIdentifier
to deleted item.path
- - Identifier of Data Tree ItemNotification
- relevant API contract NotificationCopyright © 2019 OpenDaylight. All rights reserved.