NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.3: 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 >
 FaceTraits ()
 
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)
 

Protected Member Functions

void wireReset () const
 

Additional Inherited Members

- 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
 

Detailed Description

Constructor & Destructor Documentation

◆ FaceEventNotification() [1/2]

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

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

◆ FaceEventNotification() [2/2]

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

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

References wireDecode().

Member Function Documentation

◆ wireEncode() [1/2]

◆ wireEncode() [2/2]

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

encode FaceEventNotification

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

References ndn::Block::hasWire().

◆ wireDecode()

◆ getKind()

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

◆ setKind()

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

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

References ndn::Block::reset().

Referenced by getKind(), and nfd::FaceManager::setConfigFile().

◆ wireReset()

void ndn::nfd::FaceEventNotification::wireReset ( ) const
protectedvirtual

Implements ndn::nfd::FaceTraits< FaceEventNotification >.

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

References ndn::Block::reset().

Referenced by getKind().


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