Class FlowStatNotificationSupplierImpl

    • Constructor Detail

      • FlowStatNotificationSupplierImpl

        public FlowStatNotificationSupplierImpl​(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<FlowStatistics> 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 FlowsStatisticsUpdate createNotification​(FlowStatistics flowStatistics,
                                                        org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowStatistics> path)
        Description copied from interface: NotificationSupplierForItemStat
        Method produces relevant Statistics kind of Notification from statistics data tree item identified by InstanceIdentifier path.
        Parameters:
        flowStatistics - - Statistics Data Tree Item
        path - - Identifier of Data Tree Item
        Returns:
        Notification - relevant API contract Notification