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

RibUpdate. More...

#include <rib-update.hpp>

Public Types

enum  Action { REGISTER = 0, UNREGISTER = 1, REMOVE_FACE = 2 }
 

Public Member Functions

 RibUpdate ()
 
RibUpdatesetAction (Action action)
 
Action getAction () const
 
RibUpdatesetName (const Name &name)
 
const NamegetName () const
 
RibUpdatesetRoute (const Route &route)
 
const RoutegetRoute () const
 

Detailed Description

RibUpdate.

represents a route that will be added to or removed from a namespace

Note
This type is copyable so that it can be stored in STL containers.

Definition at line 40 of file rib-update.hpp.

Member Enumeration Documentation

◆ Action

Enumerator
REGISTER 
UNREGISTER 
REMOVE_FACE 

An update triggered by a face destruction notification.

\note indicates a Route needs to be removed after a face is destroyed

Definition at line 43 of file rib-update.hpp.

Constructor & Destructor Documentation

◆ RibUpdate()

nfd::rib::RibUpdate::RibUpdate ( )

Definition at line 31 of file rib-update.cpp.

Member Function Documentation

◆ setAction()

RibUpdate & nfd::rib::RibUpdate::setAction ( Action  action)
inline

◆ getAction()

RibUpdate::Action nfd::rib::RibUpdate::getAction ( ) const
inline

Definition at line 88 of file rib-update.hpp.

Referenced by nfd::rib::Rib::onFibUpdateSuccess(), and nfd::rib::operator<<().

◆ setName()

RibUpdate & nfd::rib::RibUpdate::setName ( const Name name)
inline

◆ getName()

const Name & nfd::rib::RibUpdate::getName ( ) const
inline

Definition at line 101 of file rib-update.hpp.

Referenced by nfd::rib::Rib::onFibUpdateSuccess(), and nfd::rib::operator<<().

◆ setRoute()

RibUpdate & nfd::rib::RibUpdate::setRoute ( const Route route)
inline

◆ getRoute()

const Route & nfd::rib::RibUpdate::getRoute ( ) const
inline

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