class XrlRibclientTargetBase


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods

Protected Members


Detailed Description

XrlCmdMap* _cmds

_cmds

[protected]

 XrlRibclientTargetBase (XrlCmdMap* cmds = 0)

XrlRibclientTargetBase

Constructor.

Parameters:

cmdsan XrlCmdMap that the commands associated with the target should be added to. This is typically the XrlRouter associated with the target.
 ~XrlRibclientTargetBase ()

~XrlRibclientTargetBase

[virtual]

Destructor.

Dissociates instance commands from command map.

bool  set_command_map (XrlCmdMap* cmds)

set_command_map

Set command map.

Parameters:

cmdspointer to command map to associate commands with. This argument is typically a pointer to the XrlRouter associated with the target.

Returns: true on success, false if cmds is null or a command map has already been supplied.

const string&  name ()

name

[const]

Get Xrl instance name associated with command map.

const char*  version ()

version

[const]

Get version string of instance.

XrlCmdError  rib_client_0_1_route_info_changed4 ( const IPv4& addr, const uint32_t& prefix_len, const IPv4& nexthop, const uint32_t& metric, const uint32_t& admin_distance, const string& protocol_origin)

rib_client_0_1_route_info_changed4

[protected pure virtual]

Pure-virtual function that needs to be implemented to:

Route Info Changed route_info_changed is called by the RIB on the RIB client (typically a routing protocol) that had registered an interest in the routing of an address. This can be because the metric and/or nexthop changed.

Parameters:

addrbase address of the subnet that was registered
prefix_lenprefix length of the subnet that was registered
metricthe routing metric toward the address.
admin_distancethe administratively defined distance toward the address.
protocol_originthe name of the protocol that originated this routing entry.
XrlCmdError  rib_client_0_1_route_info_changed6 ( const IPv6& addr, const uint32_t& prefix_len, const IPv6& nexthop, const uint32_t& metric, const uint32_t& admin_distance, const string& protocol_origin)

rib_client_0_1_route_info_changed6

[protected pure virtual]

XrlCmdError  rib_client_0_1_route_info_invalid4 ( const IPv4& addr, const uint32_t& prefix_len)

rib_client_0_1_route_info_invalid4

[protected pure virtual]

Pure-virtual function that needs to be implemented to:

Route Info Invalid route_info_invalid is called by the RIB on the RIB client (typically a routing protocol) that had registere d an interest in the routing of an address. This can be because the information previously reported as applying no longer applies for any number of reasons. When the RIB sends this message, it has automatically de-registered interest in the route, and the client will normally need to send a register_interest request again.

XrlCmdError  rib_client_0_1_route_info_invalid6 ( const IPv6& addr, const uint32_t& prefix_len)

rib_client_0_1_route_info_invalid6

[protected pure virtual]


Generated by: bms on anglepoise.lon.incunabulum.net on Wed Jul 23 10:05:45 2008, using kdoc 2.0a54+XORP.