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 37 of file notification-stream.hpp.

Constructor & Destructor Documentation

◆ NotificationStream()

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

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

◆ ~NotificationStream()

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

Member Function Documentation

◆ postNotification()

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

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