represents a route in a RibEntry More...
#include <ndn-cxx/mgmt/nfd/rib-entry.hpp>
Classes | |
class | Error |
Public Member Functions | |
Route () | |
Route (const Block &block) | |
uint64_t | getCost () const |
time::milliseconds | getExpirationPeriod () const |
uint64_t | getFaceId () const |
uint64_t | getFlags () const |
RouteOrigin | getOrigin () const |
bool | hasExpirationPeriod () const |
bool | isChildInherit () const |
bool | isRibCapture () const |
Route & | setCost (uint64_t cost) |
Route & | setExpirationPeriod (time::milliseconds expirationPeriod) |
Route & | setFaceId (uint64_t faceId) |
Route & | setFlags (uint64_t flags) |
Route & | setOrigin (RouteOrigin origin) |
Route & | unsetExpirationPeriod () |
void | wireDecode (const Block &block) |
template<encoding::Tag TAG> | |
size_t | wireEncode (EncodingImpl< TAG > &block) const |
const Block & | wireEncode () const |
represents a route in a RibEntry
A route indicates the availability of content via a certain face and provides meta-information about the face.
Definition at line 42 of file rib-entry.hpp.
ndn::nfd::Route::Route | ( | ) |
Definition at line 37 of file rib-entry.cpp.
|
explicit |
Definition at line 45 of file rib-entry.cpp.
|
inline |
Definition at line 75 of file rib-entry.hpp.
|
inline |
Definition at line 99 of file rib-entry.hpp.
|
inline |
Definition at line 57 of file rib-entry.hpp.
|
inline |
Definition at line 84 of file rib-entry.hpp.
|
inline |
Definition at line 66 of file rib-entry.hpp.
|
inline |
Definition at line 93 of file rib-entry.hpp.
|
inlineinherited |
Definition at line 42 of file route-flags-traits.hpp.
|
inlineinherited |
Definition at line 48 of file route-flags-traits.hpp.
Route & ndn::nfd::Route::setCost | ( | uint64_t | cost | ) |
Definition at line 67 of file rib-entry.cpp.
Route & ndn::nfd::Route::setExpirationPeriod | ( | time::milliseconds | expirationPeriod | ) |
Definition at line 83 of file rib-entry.cpp.
Route & ndn::nfd::Route::setFaceId | ( | uint64_t | faceId | ) |
Definition at line 51 of file rib-entry.cpp.
Route & ndn::nfd::Route::setFlags | ( | uint64_t | flags | ) |
Definition at line 75 of file rib-entry.cpp.
Route & ndn::nfd::Route::setOrigin | ( | RouteOrigin | origin | ) |
Definition at line 59 of file rib-entry.cpp.
Route & ndn::nfd::Route::unsetExpirationPeriod | ( | ) |
Definition at line 94 of file rib-entry.cpp.
void ndn::nfd::Route::wireDecode | ( | const Block & | block | ) |
Definition at line 140 of file rib-entry.cpp.
size_t ndn::nfd::Route::wireEncode | ( | EncodingImpl< TAG > & | block | ) | const |
Definition at line 103 of file rib-entry.cpp.
const Block & ndn::nfd::Route::wireEncode | ( | ) | const |
Definition at line 124 of file rib-entry.cpp.