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

    • Constructor Detail

      • AbstractNotificationSupplierForItem

        public AbstractNotificationSupplierForItem​(org.opendaylight.mdsal.binding.api.NotificationPublishService notifProviderService,
                                                   org.opendaylight.mdsal.binding.api.DataBroker db,
                                                   Class<O> clazz)
        Default constructor for all item Notification Supplier implementation.
        Parameters:
        notifProviderService - - 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)