nfd::rib::RibUpdate Class Reference

RibUpdate. More...

#include <rib/rib-update.hpp>

Public Types

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

Public Member Functions

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

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

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

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

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

Member Function Documentation

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

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

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

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

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

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

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

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

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

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

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

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