xorp

AddRoute< A > Class Template Reference

Inheritance diagram for AddRoute< A >:
RedistXrlTask< A > CallbackSafeObject NONCOPYABLE AddTransactionRoute< A >

List of all members.

Public Member Functions

 AddRoute (RedistXrlOutput< A > *parent, const IPRouteEntry< A > &ipr)
virtual bool dispatch (XrlRouter &xrl_router, Profile &profile)
void dispatch_complete (const XrlError &xe)
template<>
bool dispatch (XrlRouter &xrl_router, Profile &profile)
template<>
bool dispatch (XrlRouter &xrl_router, Profile &profile)

Protected Attributes

IPNet< A > _net
_nexthop
string _ifname
string _vifname
uint32_t _metric
uint32_t _admin_distance
string _protocol_origin

template<typename A>
class AddRoute< A >


Member Function Documentation

template<typename A >
virtual bool AddRoute< A >::dispatch ( XrlRouter xrl_router,
Profile profile 
) [virtual]
Returns:
true on success, false if XrlRouter could not dispatch request.

Implements RedistXrlTask< A >.

Reimplemented in AddTransactionRoute< A >, AddTransactionRoute< A >, and AddTransactionRoute< A >.

template<>
bool AddRoute< IPv6 >::dispatch ( XrlRouter xrl_router,
Profile profile 
) [virtual]
Returns:
true on success, false if XrlRouter could not dispatch request.

Implements RedistXrlTask< A >.

Reimplemented in AddTransactionRoute< A >, AddTransactionRoute< A >, and AddTransactionRoute< A >.

template<>
bool AddRoute< IPv4 >::dispatch ( XrlRouter xrl_router,
Profile profile 
) [virtual]
Returns:
true on success, false if XrlRouter could not dispatch request.

Implements RedistXrlTask< A >.

Reimplemented in AddTransactionRoute< A >, AddTransactionRoute< A >, and AddTransactionRoute< A >.


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