All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ndn::nfd::FaceEventNotification Class Reference

represents a Face status change notification More...

#include <nfd-face-event-notification.hpp>

Inheritance diagram for ndn::nfd::FaceEventNotification:
[legend]
Collaboration diagram for ndn::nfd::FaceEventNotification:
[legend]

Data Structures

class  Error
 

Public Member Functions

 FaceEventNotification ()
 
 FaceEventNotification (const Block &block)
 
template<bool T>
size_t wireEncode (EncodingImpl< T > &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)
 
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)
 
uint64_t getFlags () const
 
FaceEventNotificationsetFlags (uint64_t flags)
 
bool isLocal () const
 
bool isOnDemand () const
 

Detailed Description

Constructor & Destructor Documentation

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

Definition at line 146 of file nfd-face-event-notification.hpp.

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

Definition at line 43 of file nfd-face-event-notification.hpp.

Member Function Documentation

uint64_t ndn::nfd::FaceEventNotification::getFaceId ( ) const
inline

Definition at line 80 of file nfd-face-event-notification.hpp.

uint64_t ndn::nfd::FaceEventNotification::getFlags ( ) const
inline

Definition at line 122 of file nfd-face-event-notification.hpp.

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

Definition at line 66 of file nfd-face-event-notification.hpp.

const std::string& ndn::nfd::FaceEventNotification::getLocalUri ( ) const
inline

Definition at line 108 of file nfd-face-event-notification.hpp.

const std::string& ndn::nfd::FaceEventNotification::getRemoteUri ( ) const
inline

Definition at line 94 of file nfd-face-event-notification.hpp.

bool ndn::nfd::FaceFlagsTraits< FaceEventNotification >::isLocal ( ) const
inlineinherited

Definition at line 38 of file nfd-face-flags.hpp.

bool ndn::nfd::FaceFlagsTraits< FaceEventNotification >::isOnDemand ( ) const
inlineinherited

Definition at line 44 of file nfd-face-flags.hpp.

FaceEventNotification& ndn::nfd::FaceEventNotification::setFaceId ( uint64_t  faceId)
inline

Definition at line 86 of file nfd-face-event-notification.hpp.

FaceEventNotification& ndn::nfd::FaceEventNotification::setFlags ( uint64_t  flags)
inline

Definition at line 128 of file nfd-face-event-notification.hpp.

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

Definition at line 72 of file nfd-face-event-notification.hpp.

FaceEventNotification& ndn::nfd::FaceEventNotification::setLocalUri ( const std::string &  localUri)
inline

Definition at line 114 of file nfd-face-event-notification.hpp.

FaceEventNotification& ndn::nfd::FaceEventNotification::setRemoteUri ( const std::string &  remoteUri)
inline

Definition at line 100 of file nfd-face-event-notification.hpp.

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

decode FaceEventNotification

Definition at line 192 of file nfd-face-event-notification.hpp.

template<bool T>
size_t ndn::nfd::FaceEventNotification::wireEncode ( EncodingImpl< T > &  encoder) const
inline

prepend FaceEventNotification to the encoder

Definition at line 155 of file nfd-face-event-notification.hpp.

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

encode FaceEventNotification

Definition at line 176 of file nfd-face-event-notification.hpp.