Interface NetconfNotificationCollector


  • public interface NetconfNotificationCollector
    Collector of all notifications. Base or generic
    • Method Detail

      • registerNotificationPublisher

        NotificationPublisherRegistration registerNotificationPublisher​(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netmod.notification.rev080714.netconf.streams.Stream stream)
        Add notification publisher for a particular stream.

        Implementations should allow for multiple publishers of a single stream and its up to implementations to decide how to merge metadata (e.g. description) for the same stream when providing information about available stream

      • registerStreamListener

        NotificationRegistration registerStreamListener​(NetconfNotificationCollector.NetconfNotificationStreamListener listener)
        Users of the registry have an option to get notification each time new notification stream gets registered This allows for a push model in addition to pull model for retrieving information about available streams.

        The listener should receive callbacks for each stream available prior to the registration when its registered