Class GroupStatNotificationSupplierImpl

    • Constructor Detail

      • GroupStatNotificationSupplierImpl

        public GroupStatNotificationSupplierImpl​(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

      • getWildCardPath

        public org.opendaylight.yangtools.yang.binding.InstanceIdentifier<GroupStatistics> getWildCardPath()
        Description copied from interface: NotificationSupplierDefinition
        Method return wildCardPath for Listener registration and for identify the correct KeyInstanceIdentifier from Data Tree Item in DataStore.
        Returns:
        InstanceIdentifier
      • createNotification

        public GroupStatisticsUpdated createNotification​(GroupStatistics groupStatistics,
                                                         org.opendaylight.yangtools.yang.binding.InstanceIdentifier<GroupStatistics> path)
        Description copied from interface: NotificationSupplierForItemStat
        Method produces relevant Statistics kind of Notification from statistics data tree item identified by InstanceIdentifier path.
        Parameters:
        groupStatistics - - Statistics Data Tree Item
        path - - Identifier of Data Tree Item
        Returns:
        Notification - relevant API contract Notification