class LogTable

A Base for Route Tables that log updates. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods


Detailed Description

Users of this class specify expected updates with expect_add and expect_delete. As the updates come through they are compared against those expect and generate an assertion failure if those arriving do not match those expected. An assertion failure will also occur if there are unmatched updates upon instance destruction.

This class is strictly for debugging and testing purposes.

 LogTable (const string& tablename, RouteTable<A>* parent)

LogTable

 ~LogTable ()

~LogTable

int  add_route (const IPRouteEntry<A>& route, RouteTable<A>* caller)

add_route

Reimplemented from RouteTable.

int  delete_route (const IPRouteEntry<A>* , RouteTable<A>* caller)

delete_route

Reimplemented from RouteTable.

const IPRouteEntry<A>*  lookup_route (const IPNet<A>& net)

lookup_route

[const]

Reimplemented from RouteTable.

const IPRouteEntry<A>*  lookup_route (const A& addr)

lookup_route

[const]

Reimplemented from RouteTable.

RouteRange<A>*  lookup_route_range (const A& addr)

lookup_route_range

[const]

Reimplemented from RouteTable.

TableType  type ()

type

[const]

Reimplemented from RouteTable.

RouteTable<A>*  parent ()

parent

Reimplemented from RouteTable.

void  replumb (RouteTable<A>* old_parent, RouteTable<A>* new_parent)

replumb

Reimplemented from RouteTable.

string  str ()

str

[const]

Reimplemented from RouteTable.

uint32_t  update_number ()

update_number

[const]


Generated by: pavlin on possum.icir.org on Thu Mar 9 04:43:48 2006, using kdoc $.