NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::util::NotificationStream< Notification > Class Template Reference

provides a publisher of Notification Stream More...

#include <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 ()
 
void postNotification (const Notification &notification)
 

Public Attributes

 WireEncodable< Notification >
 

Detailed Description

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

provides a publisher of Notification Stream

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

Definition at line 65 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 70 of file notification-stream.hpp.

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

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

Member Function Documentation

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

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

References ndn::Name::appendSequenceNumber(), and ndn::Face::put().

Member Data Documentation

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

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


The documentation for this class was generated from the following file: