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

§ getAction()

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

§ setName()

§ getName()

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

§ setRoute()

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

§ getRoute()


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