class XrlBgp4MibTargetBase


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods

Protected Members


Detailed Description

XrlCmdMap* _cmds

_cmds

[protected]

 XrlBgp4MibTargetBase (XrlCmdMap* cmds = 0)

XrlBgp4MibTargetBase

Constructor.

Parameters:

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

~XrlBgp4MibTargetBase

[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  common_0_1_get_target_name ( string& name)

common_0_1_get_target_name

[protected pure virtual]

Pure-virtual function that needs to be implemented to:

Get name of Xrl Target

XrlCmdError  common_0_1_get_version ( string& version)

common_0_1_get_version

[protected pure virtual]

Pure-virtual function that needs to be implemented to:

Get version string from Xrl Target

XrlCmdError  common_0_1_get_status ( uint32_t& status, string& reason)

common_0_1_get_status

[protected pure virtual]

Pure-virtual function that needs to be implemented to:

Get status of Xrl Target

XrlCmdError  common_0_1_shutdown ()

common_0_1_shutdown

[protected pure virtual]

Pure-virtual function that needs to be implemented to:

Request clean shutdown of Xrl Target

XrlCmdError  bgp_mib_traps_0_1_send_bgp_established_trap ( const string& bgp_last_error, const uint32_t& bgp_state)

bgp_mib_traps_0_1_send_bgp_established_trap

[protected pure virtual]

Pure-virtual function that needs to be implemented to:

Send bgpEstablished trap

XrlCmdError  bgp_mib_traps_0_1_send_bgp_backward_transition_trap ( const string& bgp_last_error, const uint32_t& bgp_state)

bgp_mib_traps_0_1_send_bgp_backward_transition_trap

[protected pure virtual]

Pure-virtual function that needs to be implemented to:

Send bgpBackwardTransition trap


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