public class MeterStatNotificationSupplierImpl extends AbstractNotificationSupplierForItemStat<MeterStatistics,MeterStatisticsUpdated>
MeterStatistics
data object
and MeterStatisticsUpdated
notification.clazz
Constructor and Description |
---|
MeterStatNotificationSupplierImpl(org.opendaylight.mdsal.binding.api.NotificationPublishService notifProviderService,
org.opendaylight.mdsal.binding.api.DataBroker db)
Constructor register supplier as DataTreeChangeListener and create wildCarded InstanceIdentifier.
|
Modifier and Type | Method and Description |
---|---|
MeterStatisticsUpdated |
createNotification(MeterStatistics meterStatistics,
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MeterStatistics> path)
Method produces relevant Statistics kind of
Notification from statistics data tree item identified by
InstanceIdentifier path. |
org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MeterStatistics> |
getWildCardPath()
Method return wildCardPath for Listener registration and for identify
the correct KeyInstanceIdentifier from Data Tree Item in DataStore.
|
add, onDataTreeChanged, remove, update
close, createNodeRef, getNodeId, getNodeII, getNodeWildII
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
public MeterStatNotificationSupplierImpl(org.opendaylight.mdsal.binding.api.NotificationPublishService notifProviderService, org.opendaylight.mdsal.binding.api.DataBroker db)
notifProviderService
- - NotificationPublishService
db
- - DataBroker
public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MeterStatistics> getWildCardPath()
NotificationSupplierDefinition
InstanceIdentifier
public MeterStatisticsUpdated createNotification(MeterStatistics meterStatistics, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<MeterStatistics> path)
NotificationSupplierForItemStat
Notification
from statistics data tree item identified by
InstanceIdentifier
path.meterStatistics
- - Statistics Data Tree Itempath
- - Identifier of Data Tree ItemNotification
- relevant API contract NotificationCopyright © 2020 OpenDaylight. All rights reserved.