MribTable::PendingTransaction Class Reference

List of all members.

Public Member Functions

 PendingTransaction (uint32_t tid, const Mrib &mrib, bool is_insert)
 Constructor to insert or remove a MRIB entry.
 PendingTransaction (const MribTable &mrib_table, uint32_t tid)
 Constructor to remove all entries.
uint32_t tid () const
const Mribmrib () const
bool is_insert () const
bool is_remove_all () const
void update_entry_vif_index (uint32_t vif_index)

Private Attributes

uint32_t _tid
Mrib _mrib
bool _is_insert
bool _is_remove_all

Constructor & Destructor Documentation

MribTable::PendingTransaction::PendingTransaction ( uint32_t  tid,
const Mrib mrib,
bool  is_insert 
) [inline]

Constructor to insert or remove a MRIB entry.

tidthe transaction ID.
mribthe MRIB entry to insert or remove.
is_insertif true, then insert the entry, otherwise remove it.

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations