ndn::nfd::FaceEventNotification Class Reference

represents a Face status change notification More...

#include <ndn-cxx/mgmt/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)
 
uint64_t getFaceId () const
 
FacePersistency getFacePersistency () const
 
FaceScope getFaceScope () const
 
bool getFlagBit (size_t bit) const
 
uint64_t getFlags () const
 
FaceEventKind getKind () const
 
LinkType getLinkType () const
 
const std::string & getLocalUri () const
 
const std::string & getRemoteUri () const
 
FaceEventNotificationsetFaceId (uint64_t faceId)
 
FaceEventNotificationsetFacePersistency (FacePersistency facePersistency)
 
FaceEventNotificationsetFaceScope (FaceScope faceScope)
 
FaceEventNotificationsetFlagBit (size_t bit, bool value)
 
FaceEventNotificationsetFlags (uint64_t flags)
 
FaceEventNotificationsetKind (FaceEventKind kind)
 
FaceEventNotificationsetLinkType (LinkType linkType)
 
FaceEventNotificationsetLocalUri (const std::string &localUri)
 
FaceEventNotificationsetRemoteUri (const std::string &remoteUri)
 
void wireDecode (const Block &wire)
 decode FaceEventNotification More...
 
template<encoding::Tag TAG>
size_t wireEncode (EncodingImpl< TAG > &encoder) const
 prepend FaceEventNotification to the encoder More...
 
const BlockwireEncode () const
 encode FaceEventNotification More...
 

Protected Attributes

uint64_t m_faceId
 
FacePersistency m_facePersistency
 
FaceScope m_faceScope
 
uint64_t m_flags
 
LinkType m_linkType
 
std::string m_localUri
 
std::string m_remoteUri
 
Block m_wire
 

Detailed Description

Constructor & Destructor Documentation

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

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

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

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

Member Function Documentation

uint64_t ndn::nfd::FaceTraits< FaceEventNotification >::getFaceId ( ) const
inlineinherited

Definition at line 47 of file face-traits.hpp.

FacePersistency ndn::nfd::FaceTraits< FaceEventNotification >::getFacePersistency ( ) const
inlineinherited

Definition at line 103 of file face-traits.hpp.

FaceScope ndn::nfd::FaceTraits< FaceEventNotification >::getFaceScope ( ) const
inlineinherited

Definition at line 89 of file face-traits.hpp.

bool ndn::nfd::FaceTraits< FaceEventNotification >::getFlagBit ( size_t  bit) const
inlineinherited

Definition at line 145 of file face-traits.hpp.

uint64_t ndn::nfd::FaceTraits< FaceEventNotification >::getFlags ( ) const
inlineinherited

Definition at line 131 of file face-traits.hpp.

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

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

LinkType ndn::nfd::FaceTraits< FaceEventNotification >::getLinkType ( ) const
inlineinherited

Definition at line 117 of file face-traits.hpp.

const std::string& ndn::nfd::FaceTraits< FaceEventNotification >::getLocalUri ( ) const
inlineinherited

Definition at line 75 of file face-traits.hpp.

const std::string& ndn::nfd::FaceTraits< FaceEventNotification >::getRemoteUri ( ) const
inlineinherited

Definition at line 61 of file face-traits.hpp.

FaceEventNotification & ndn::nfd::FaceTraits< FaceEventNotification >::setFaceId ( uint64_t  faceId)
inlineinherited

Definition at line 53 of file face-traits.hpp.

FaceEventNotification & ndn::nfd::FaceTraits< FaceEventNotification >::setFacePersistency ( FacePersistency  facePersistency)
inlineinherited

Definition at line 109 of file face-traits.hpp.

FaceEventNotification & ndn::nfd::FaceTraits< FaceEventNotification >::setFaceScope ( FaceScope  faceScope)
inlineinherited

Definition at line 95 of file face-traits.hpp.

FaceEventNotification & ndn::nfd::FaceTraits< FaceEventNotification >::setFlagBit ( size_t  bit,
bool  value 
)
inlineinherited

Definition at line 154 of file face-traits.hpp.

FaceEventNotification & ndn::nfd::FaceTraits< FaceEventNotification >::setFlags ( uint64_t  flags)
inlineinherited

Definition at line 137 of file face-traits.hpp.

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

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

FaceEventNotification & ndn::nfd::FaceTraits< FaceEventNotification >::setLinkType ( LinkType  linkType)
inlineinherited

Definition at line 123 of file face-traits.hpp.

FaceEventNotification & ndn::nfd::FaceTraits< FaceEventNotification >::setLocalUri ( const std::string &  localUri)
inlineinherited

Definition at line 81 of file face-traits.hpp.

FaceEventNotification & ndn::nfd::FaceTraits< FaceEventNotification >::setRemoteUri ( const std::string &  remoteUri)
inlineinherited

Definition at line 67 of file face-traits.hpp.

void ndn::nfd::FaceEventNotification::wireDecode ( const Block wire)

decode FaceEventNotification

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

template<encoding::Tag TAG>
size_t ndn::nfd::FaceEventNotification::wireEncode ( EncodingImpl< TAG > &  encoder) const

prepend FaceEventNotification to the encoder

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

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

encode FaceEventNotification

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

Member Data Documentation

uint64_t ndn::nfd::FaceTraits< FaceEventNotification >::m_faceId
protectedinherited

Definition at line 183 of file face-traits.hpp.

FacePersistency ndn::nfd::FaceTraits< FaceEventNotification >::m_facePersistency
protectedinherited

Definition at line 187 of file face-traits.hpp.

FaceScope ndn::nfd::FaceTraits< FaceEventNotification >::m_faceScope
protectedinherited

Definition at line 186 of file face-traits.hpp.

uint64_t ndn::nfd::FaceTraits< FaceEventNotification >::m_flags
protectedinherited

Definition at line 189 of file face-traits.hpp.

LinkType ndn::nfd::FaceTraits< FaceEventNotification >::m_linkType
protectedinherited

Definition at line 188 of file face-traits.hpp.

std::string ndn::nfd::FaceTraits< FaceEventNotification >::m_localUri
protectedinherited

Definition at line 185 of file face-traits.hpp.

std::string ndn::nfd::FaceTraits< FaceEventNotification >::m_remoteUri
protectedinherited

Definition at line 184 of file face-traits.hpp.

Block ndn::nfd::FaceTraits< FaceEventNotification >::m_wire
mutableprotectedinherited

Definition at line 191 of file face-traits.hpp.