class XrlProcessSpy

Class that watches remote FEA and RIB processes. More...

 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Methods

Protected Methods

Protected Members


Detailed Description

This class registers interest with the Finder in the FEA and RIB processes and reports whether the FEA and RIB are running to interested parties.

 XrlProcessSpy (XrlRouter& rtr)

XrlProcessSpy

 ~XrlProcessSpy ()

~XrlProcessSpy

int  startup ()

startup

Register interest in FEA and RIB with Finder.

Returns: XORP_OK on success, otherwise XORP_ERROR.

Reimplemented from ServiceBase.

int  shutdown ()

shutdown

Deregister interest in FEA and RIB with Finder.

Returns: XORP_OK on success, otherwise XORP_ERROR.

Reimplemented from ServiceBase.

bool  fea_present ()

fea_present

[const]

Get indication of whether FEA is present.

Returns: true if FEA is present, false if FEA is not present or run_status() is not in SERVICE_RUNNING state.

bool  rib_present ()

rib_present

[const]

Get indication of whether RIB is present.

Returns: true if RIB is present, false if RIB is not present or run_status() is not in SERVICE_RUNNING state.

void  birth_event (const string& class_name, const string& instance_name)

birth_event

Inform instance about the birth of an Xrl Target instance within a class. Typically called by associated Xrl Target of running RIP.

Parameters:

class_nameclass of new born Xrl Target.
instance_nameinstance name of new born Xrl Target.
void  death_event (const string& class_name, const string& instance_name)

death_event

Inform instance about the death of a Xrl Target instance within a class. Typically called by associated Xrl Target of running RIP.

Parameters:

class_nameclass of recently deceased Xrl Target.
instance_nameinstance name of recently deceased Xrl Target.
void  send_register (uint32_t idx)

send_register

[protected]

void  register_cb (const XrlError& e, uint32_t idx)

register_cb

[protected]

void  schedule_register_retry (uint32_t idx)

schedule_register_retry

[protected]

void  send_deregister (uint32_t idx)

send_deregister

[protected]

void  deregister_cb (const XrlError& e, uint32_t idx)

deregister_cb

[protected]

void  schedule_deregister_retry (uint32_t idx)

schedule_deregister_retry

[protected]

static const uint32_t FEA_IDX

FEA_IDX

[protected]

static const uint32_t RIB_IDX

RIB_IDX

[protected]

static const uint32_t END_IDX

END_IDX

[protected]

XrlRouter& _rtr

_rtr

[protected]

string _cname[END_IDX]

_cname[END_IDX]

[protected]

string _iname[END_IDX]

_iname[END_IDX]

[protected]

XorpTimer _retry

_retry

[protected]


Generated by: pavlin on kobe.xorp.net on Wed Jan 7 19:11:10 2009, using kdoc 2.0a54+XORP.