xorp

OutputTable< A > Class Template Reference

Route Table Output class. More...

#include <output_table.hh>

Inheritance diagram for OutputTable< A >:
OutputBase< A > NONCOPYABLE

List of all members.

Public Member Functions

 OutputTable (EventLoop &e, Port< A > &port, PacketQueue< A > &pkt_queue, RouteDB< A > &rdb, const A &ip_addr=RIP_AF_CONSTANTS< A >::IP_GROUP(), uint16_t ip_port=RIP_AF_CONSTANTS< A >::IP_PORT)

Protected Member Functions

void output_packet ()
 Output packet if suitable data is available, and place it in the PacketQueue associated with this instance.
void start_output_processing ()
 Derived classes should implement this to start output processing.
void stop_output_processing ()
 Derived classes should implement this to stop output processing.

Private Attributes

RouteWalker< A > _rw
bool _rw_valid

Detailed Description

template<typename A>
class OutputTable< A >

Route Table Output class.

The OutputTable class produces an asynchronous RIP table dump. It's intended use is for solicited and unsolicited routing table.

Specialized implementations exist for IPv4 and IPv6. Non-copyable due to inheritance from OutputBase.


Member Function Documentation

template<typename A >
void OutputTable< A >::output_packet ( ) [protected, virtual]

Output packet if suitable data is available, and place it in the PacketQueue associated with this instance.

Should data still be available after packet is generated then implementations of this method should reschedule a call to output_packet after interpacket_gap_ms milliseconds.

Implements OutputBase< A >.

template<typename A >
void OutputTable< A >::start_output_processing ( ) [protected, virtual]

Derived classes should implement this to start output processing.

It is invoked when start() is called.

Implements OutputBase< A >.

template<typename A >
void OutputTable< A >::stop_output_processing ( ) [protected, virtual]

Derived classes should implement this to stop output processing.

It is invoked when stop() is called.

Implements OutputBase< A >.


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