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

represents a Face status change notification More...

#include <nfd-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 Block & wireEncode () const
 encode FaceEventNotification More...
 
void wireDecode (const Block &wire)
 decode FaceEventNotification More...
 
FaceEventKind getKind () const
 
FaceEventNotification & setKind (FaceEventKind kind)
 
- Public Member Functions inherited from ndn::nfd::FaceTraits< FaceEventNotification >
 FaceTraits ()
 
uint64_t getFaceId () const
 
FaceEventNotification & setFaceId (uint64_t faceId)
 
const std::string & getRemoteUri () const
 
FaceEventNotification & setRemoteUri (const std::string &remoteUri)
 
const std::string & getLocalUri () const
 
FaceEventNotification & setLocalUri (const std::string &localUri)
 
FaceScope getFaceScope () const
 
FaceEventNotification & setFaceScope (FaceScope faceScope)
 
FacePersistency getFacePersistency () const
 
FaceEventNotification & setFacePersistency (FacePersistency facePersistency)
 
LinkType getLinkType () const
 
FaceEventNotification & setLinkType (LinkType linkType)
 

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
 

Detailed Description

Constructor & Destructor Documentation

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

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

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

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

References wireDecode().

Member Function Documentation

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

encode FaceEventNotification

Definition at line 73 of file nfd-face-event-notification.cpp.

References ndn::Block::hasWire().

FaceEventKind ndn::nfd::FaceEventNotification::getKind ( ) const
inline
FaceEventNotification & ndn::nfd::FaceEventNotification::setKind ( FaceEventKind  kind)

Definition at line 156 of file nfd-face-event-notification.cpp.

References ndn::Block::reset().

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

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

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

Definition at line 164 of file nfd-face-event-notification.cpp.

References ndn::Block::reset().

Referenced by getKind().


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