xorp

TestOutput< A > Class Template Reference

Inheritance diagram for TestOutput< A >:
RedistOutput< A > NONCOPYABLE

List of all members.

Public Types

typedef RedistOutput< A > Base
typedef RedistTable< A >
::RouteIndex 
RouteIndex

Public Member Functions

 TestOutput (Redistributor< A > *r, bool block_after_op=true)
 Contructor.
void unblock ()
bool blocked () const
uint32_t backlog () const
uint32_t low_water_backlog () const
uint32_t high_water_backlog () const
void add_route (const IPRouteEntry< A > &route)
void delete_route (const IPRouteEntry< A > &route)
void starting_route_dump ()
 Method called by Redistributor to indicate start of initial route dump.
void finishing_route_dump ()
 Method called by Redistributor to indicate end of initial route dump.
void set_expected_net (const IPNet< A > &n)
const IPNet< A > & expected_net () const
const RouteIndex & route_index () const
template<>
const IPNet< IPv4NO_NET (IPv4::ALL_ONES(), IPv4::ADDR_BITLEN)
template<>
const IPNet< IPv6NO_NET (IPv6::ALL_ONES(), IPv6::ADDR_BITLEN)

Static Public Attributes

static const IPNet< A > ANY_NET
static const IPNet< A > NO_NET

Protected Attributes

bool _blocking
bool _blocked
IPNet< A > _expect_net
RouteIndex _rt_index

template<typename A>
class TestOutput< A >


Constructor & Destructor Documentation

template<typename A >
TestOutput< A >::TestOutput ( Redistributor< A > *  r,
bool  block_after_op = true 
) [inline]

Contructor.

Parameters:
block_after_opannounce high water after any route operations. This allows state to be controlled in piecemeal manner.

Member Function Documentation

template<typename A >
void TestOutput< A >::finishing_route_dump ( ) [inline, virtual]

Method called by Redistributor to indicate end of initial route dump.

This occurs when an output is first attached to the redistributor to announce the existing routes.

Implements RedistOutput< A >.

template<typename A >
void TestOutput< A >::starting_route_dump ( ) [inline, virtual]

Method called by Redistributor to indicate start of initial route dump.

This occurs when an output is first attached to the redistributor to announce the existing routes.

Implements RedistOutput< A >.


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