ndn::util::NotificationStream< Notification > Class Template Reference

provides a publisher of Notification Stream More...

#include <ndn-cxx/util/notification-stream.hpp>

+ Inheritance diagram for ndn::util::NotificationStream< Notification >:
+ Collaboration diagram for ndn::util::NotificationStream< Notification >:

Public Member Functions

 NotificationStream (Face &face, const Name &prefix, KeyChain &keyChain)
 
virtual ~NotificationStream ()=default
 
void postNotification (const Notification &notification)
 

Detailed Description

template<typename Notification>
class ndn::util::NotificationStream< Notification >

provides a publisher of Notification Stream

See also
https://redmine.named-data.net/projects/nfd/wiki/Notification

Definition at line 43 of file notification-stream.hpp.

Constructor & Destructor Documentation

template<typename Notification >
ndn::util::NotificationStream< Notification >::NotificationStream ( Face face,
const Name prefix,
KeyChain &  keyChain 
)
inline

Definition at line 48 of file notification-stream.hpp.

template<typename Notification >
virtual ndn::util::NotificationStream< Notification >::~NotificationStream ( )
virtualdefault

Member Function Documentation

template<typename Notification >
void ndn::util::NotificationStream< Notification >::postNotification ( const Notification &  notification)
inline

Definition at line 60 of file notification-stream.hpp.