X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=netconf%2Fnetconf-notifications-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fnetconf%2Fnotifications%2FNetconfNotificationCollector.java;h=880509645184de4f55eaa73858d79ca9d00ca4e9;hb=23d2959c90db93232e65f79e93f33fc081cb8c03;hp=34a80b391c7dd71ad4567886ec131e0119b48e3c;hpb=3d01a690f3d26dbd2bec429415b026e501fcead5;p=netconf.git diff --git a/netconf/netconf-notifications-api/src/main/java/org/opendaylight/netconf/notifications/NetconfNotificationCollector.java b/netconf/netconf-notifications-api/src/main/java/org/opendaylight/netconf/notifications/NetconfNotificationCollector.java index 34a80b391c..8805096451 100644 --- a/netconf/netconf-notifications-api/src/main/java/org/opendaylight/netconf/notifications/NetconfNotificationCollector.java +++ b/netconf/netconf-notifications-api/src/main/java/org/opendaylight/netconf/notifications/NetconfNotificationCollector.java @@ -32,6 +32,11 @@ public interface NetconfNotificationCollector { */ BaseNotificationPublisherRegistration registerBaseNotificationPublisher(); + /** + * Register yang-library publisher. + */ + YangLibraryPublisherRegistration registerYangLibraryPublisher(); + /** * 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. @@ -44,7 +49,7 @@ public interface NetconfNotificationCollector { /** * Simple listener that receives notifications about changes in stream availability. */ - public interface NetconfNotificationStreamListener { + interface NetconfNotificationStreamListener { /** * Stream becomes available in the collector (first publisher is registered). @@ -56,5 +61,4 @@ public interface NetconfNotificationCollector { */ void onStreamUnregistered(StreamNameType stream); } - }