xorp

RedistRouteOrigin< A > Class Template Reference

Route Origination class for RouteRedistributor instances. More...

#include <redist.hh>

Inheritance diagram for RedistRouteOrigin< A >:
RouteEntryOrigin< A > NONCOPYABLE

List of all members.

Public Member Functions

uint32_t expiry_secs () const
 Retrieve number of seconds before routes associated with this RedistRouteOrigin expire.
uint32_t deletion_secs () const
 Retrieve number of seconds before route should be deleted after expiry.

Detailed Description

template<typename A>
class RedistRouteOrigin< A >

Route Origination class for RouteRedistributor instances.

Route Origination class for RouteRedistributor instances. Overrides time constant accessors for RouteEntryOrigin. By default the time constants for route expiry and deletion is never. If set_allow_timers() is called future updates will have timers associated with them. set_allow_timers() is called when the RedistTable is going to be withdrawn. This allows routes to be advertised as unreachable via host before they are deleted.

Non-copyable due to inheritance from RouteEntryOrigin.


Member Function Documentation

template<typename A >
uint32_t RedistRouteOrigin< A >::expiry_secs ( ) const [virtual]

Retrieve number of seconds before routes associated with this RedistRouteOrigin expire.

Always returns 0 to signify routes do not automatically expire.

Implements RouteEntryOrigin< A >.


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