Working with Notifications


Is it possible to register for a callback when client subscribes for a notification stream.

Also if two clients are subscribed for same notification stream, can application send notification only for a particular client.


any updated on this post ?

If you ask about NETCONF notification, subscription with netconf-console is like this:

netconf-console --start-time 2010-01-01T00:00:00 --create-subscription test_stream

The subscription is for named notification stream, which I assume is not aware of connected clients.

How to register stream in application, in confd.conf and send notification, see examples.confd/netconf_notifications/notifier.c example.