NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::nfd::FaceEventNotification Class Reference

represents a Face status change notification More...

#include <face-event-notification.hpp>

Inheritance diagram for ndn::nfd::FaceEventNotification:
Collaboration diagram for ndn::nfd::FaceEventNotification:

Public Member Functions

 FaceEventNotification ()
 
 FaceEventNotification (const Block &block)
 
template<encoding::Tag TAG>
size_t wireEncode (EncodingImpl< TAG > &encoder) const
 prepend FaceEventNotification to the encoder More...
 
const BlockwireEncode () const
 encode FaceEventNotification More...
 
void wireDecode (const Block &wire)
 decode FaceEventNotification More...
 
FaceEventKind getKind () const
 
FaceEventNotificationsetKind (FaceEventKind kind)
 
- Public Member Functions inherited from ndn::nfd::FaceTraits< FaceEventNotification >
uint64_t getFaceId () const
 
FaceEventNotificationsetFaceId (uint64_t faceId)
 
const std::string & getRemoteUri () const
 
FaceEventNotificationsetRemoteUri (const std::string &remoteUri)
 
const std::string & getLocalUri () const
 
FaceEventNotificationsetLocalUri (const std::string &localUri)
 
FaceScope getFaceScope () const
 
FaceEventNotificationsetFaceScope (FaceScope faceScope)
 
FacePersistency getFacePersistency () const
 
FaceEventNotificationsetFacePersistency (FacePersistency facePersistency)
 
LinkType getLinkType () const
 
FaceEventNotificationsetLinkType (LinkType linkType)
 
uint64_t getFlags () const
 
FaceEventNotificationsetFlags (uint64_t flags)
 
bool getFlagBit (size_t bit) const
 
FaceEventNotificationsetFlagBit (size_t bit, bool value)
 

Additional Inherited Members

- Protected Member Functions inherited from ndn::nfd::FaceTraits< FaceEventNotification >
 FaceTraits ()
 
- Protected Attributes inherited from ndn::nfd::FaceTraits< FaceEventNotification >
uint64_t m_faceId
 
std::string m_remoteUri
 
std::string m_localUri
 
FaceScope m_faceScope
 
FacePersistency m_facePersistency
 
LinkType m_linkType
 
uint64_t m_flags
 
Block m_wire
 

Detailed Description

Constructor & Destructor Documentation

◆ FaceEventNotification() [1/2]

ndn::nfd::FaceEventNotification::FaceEventNotification ( )

Definition at line 34 of file face-event-notification.cpp.

◆ FaceEventNotification() [2/2]

ndn::nfd::FaceEventNotification::FaceEventNotification ( const Block block)
explicit

Definition at line 39 of file face-event-notification.cpp.

References wireDecode().

Member Function Documentation

◆ wireEncode() [1/2]

◆ wireEncode() [2/2]

const Block & ndn::nfd::FaceEventNotification::wireEncode ( ) const

◆ wireDecode()

◆ getKind()

FaceEventKind ndn::nfd::FaceEventNotification::getKind ( ) const
inline

Definition at line 61 of file face-event-notification.hpp.

Referenced by ndn::nfd::operator<<(), and ndn::nfd::operator==().

◆ setKind()

FaceEventNotification & ndn::nfd::FaceEventNotification::setKind ( FaceEventKind  kind)

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