Class FlowTableStatNotificationSupplierImpl

    • Constructor Detail

      • FlowTableStatNotificationSupplierImpl

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