Class NodeNotificationSupplierImpl

    • Constructor Detail

      • NodeNotificationSupplierImpl

        public NodeNotificationSupplierImpl​(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<FlowCapableNode> 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 org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeUpdated createNotification​(FlowCapableNode flowCapableNode,
                                                                                                                org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> ii)
        Description copied from interface: NotificationSupplierForItemRoot
        Method produces relevant addItem kind of Notification from data tree item identified by InstanceIdentifier path.
        Parameters:
        flowCapableNode - - Data Tree Item object
        ii - - Identifier of Data Tree Item
        Returns:
        Notification - relevant API contract Notification
      • deleteNotification

        public org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeRemoved deleteNotification​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<FlowCapableNode> path)
        Description copied from interface: NotificationSupplierForItemRoot
        Method produces relevant deleteItem kind of Notification from path InstanceIdentifier to deleted item.
        Parameters:
        path - - Identifier of Data Tree Item
        Returns:
        Notification - relevant API contract Notification