Class MeterNotificationSupplierImpl
- java.lang.Object
- 
- org.opendaylight.openflowplugin.applications.notification.supplier.impl.AbstractNotificationSupplierBase<O>
- 
- org.opendaylight.openflowplugin.applications.notification.supplier.impl.item.AbstractNotificationSupplierForItem<Meter,MeterAdded,MeterUpdated,MeterRemoved>
- 
- org.opendaylight.openflowplugin.applications.notification.supplier.impl.item.MeterNotificationSupplierImpl
 
 
 
- 
- All Implemented Interfaces:
- AutoCloseable,- EventListener,- org.opendaylight.mdsal.binding.api.DataTreeChangeListener<Meter>,- NotificationSupplierDefinition<Meter>,- NotificationSupplierForItem<Meter,MeterAdded,MeterUpdated,MeterRemoved>
 
 public class MeterNotificationSupplierImpl extends AbstractNotificationSupplierForItem<Meter,MeterAdded,MeterUpdated,MeterRemoved> Implementation define a contract betweenMeterdata object andMeterAdded,MeterUpdatedandMeterRemovednotifications.
- 
- 
Field Summary- 
Fields inherited from class org.opendaylight.openflowplugin.applications.notification.supplier.impl.AbstractNotificationSupplierBaseclazz
 
- 
 - 
Constructor SummaryConstructors Constructor Description MeterNotificationSupplierImpl(org.opendaylight.mdsal.binding.api.NotificationPublishService notifProviderService, org.opendaylight.mdsal.binding.api.DataBroker db)Constructor register supplier as DataTreeChangeListener and create wildCarded InstanceIdentifier.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description MeterAddedcreateNotification(Meter dataTreeItemObject, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Meter> path)Method produces relevant addItem kind ofNotificationfrom data tree item identified byInstanceIdentifierpath.MeterRemoveddeleteNotification(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Meter> path)Method produces relevant deleteItem kind ofNotificationfrom pathInstanceIdentifierto 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.MeterUpdatedupdateNotification(Meter meter, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Meter> path)Method produces relevant updateItem kind ofNotificationfrom data tree item identified byInstanceIdentifierpath.- 
Methods inherited from class org.opendaylight.openflowplugin.applications.notification.supplier.impl.item.AbstractNotificationSupplierForItemadd, onDataTreeChanged, remove, update
 - 
Methods inherited from class org.opendaylight.openflowplugin.applications.notification.supplier.impl.AbstractNotificationSupplierBaseclose, createNodeRef, getNodeId, getNodeII, getNodeWildII
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.lang.AutoCloseableclose
 
- 
 
- 
- 
- 
Constructor Detail- 
MeterNotificationSupplierImplpublic MeterNotificationSupplierImpl(org.opendaylight.mdsal.binding.api.NotificationPublishService notifProviderService, org.opendaylight.mdsal.binding.api.DataBroker db)Constructor register supplier as DataTreeChangeListener and create wildCarded InstanceIdentifier.- Parameters:
- notifProviderService- -- NotificationPublishService
- db- -- DataBroker
 
 
- 
 - 
Method Detail- 
getWildCardPathpublic org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Meter> getWildCardPath() Description copied from interface:NotificationSupplierDefinitionMethod return wildCardPath for Listener registration and for identify the correct KeyInstanceIdentifier from Data Tree Item in DataStore.- Returns:
- InstanceIdentifier
 
 - 
createNotificationpublic MeterAdded createNotification(Meter dataTreeItemObject, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Meter> path) Description copied from interface:NotificationSupplierForItemMethod produces relevant addItem kind ofNotificationfrom data tree item identified byInstanceIdentifierpath.- Parameters:
- dataTreeItemObject- - Data Tree Item object
- path- - Identifier of Data Tree Item
- Returns:
- Notification- relevant API contract Notification
 
 - 
updateNotificationpublic MeterUpdated updateNotification(Meter meter, org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Meter> path) Description copied from interface:NotificationSupplierForItemMethod produces relevant updateItem kind ofNotificationfrom data tree item identified byInstanceIdentifierpath.- Parameters:
- meter- - Data Tree Item object
- path- - Identifier of Data Tree Item
- Returns:
- Notification- relevant API contract Notification
 
 - 
deleteNotificationpublic MeterRemoved deleteNotification(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<Meter> path) Description copied from interface:NotificationSupplierForItemMethod produces relevant deleteItem kind ofNotificationfrom pathInstanceIdentifierto deleted item.- Parameters:
- path- - Identifier of Data Tree Item
- Returns:
- Notification- relevant API contract Notification
 
 
- 
 
-