Class AbstractNotificationSupplierForItemRoot<O extends org.opendaylight.yangtools.yang.binding.DataObject,​C extends org.opendaylight.yangtools.yang.binding.Notification,​D extends org.opendaylight.yangtools.yang.binding.Notification>

    • Constructor Detail

      • AbstractNotificationSupplierForItemRoot

        public AbstractNotificationSupplierForItemRoot​(org.opendaylight.mdsal.binding.api.NotificationPublishService notificationProviderService,
                                                       org.opendaylight.mdsal.binding.api.DataBroker db,
                                                       Class<O> clazz)
        Default constructor for all Root Item Notification Supplier implementation.
        Parameters:
        notificationProviderService - - notification publisher
        db - - DataBroker for DataTreeChangeListener registration
        clazz - - Statistics Notification Class
    • Method Detail

      • onDataTreeChanged

        public void onDataTreeChanged​(Collection<org.opendaylight.mdsal.binding.api.DataTreeModification<O>> changes)
        Specified by:
        onDataTreeChanged in interface org.opendaylight.mdsal.binding.api.DataTreeChangeListener<O extends org.opendaylight.yangtools.yang.binding.DataObject>
      • add

        public void add​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<O> identifier,
                        O add)
      • remove

        public void remove​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<O> identifier,
                           O del)
      • update

        public void update​(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<O> identifier,
                           O before,
                           O after)