class ProcessWatch


 
LOGO
 Annotated List  Files  Globals  Hierarchy  Index  Top

Public Types

Public Methods

Protected Methods


Detailed Description

typedef XorpCallback0<void>::RefPtr TerminateCallback

TerminateCallback

 ProcessWatch (XrlStdRouter *xrl_router, EventLoop& eventloop, const char *bgp_mib_name, TerminateCallback cb)

ProcessWatch

void  birth (const string& target_class, const string& target_instance)

birth

Method to call when the birth of a process has been detected.

void  death (const string& target_class, const string& target_instance)

death

Method to call when the death of a process has been detected.

void  finder_death (const char *file, const int lineno)

finder_death

Method to call if the finder dies.

void  start_kill_timer ()

start_kill_timer

Start a timer to kill this process if for some reason we get hung up.

bool  ready ()

ready

[const]

Returns: Return true when all the processes that BGP requires for correct operation are running.

bool  target_exists (const string& target)

target_exists

[const]

Returns: true if the target process exists.

void  interest_callback (const XrlError& error)

interest_callback

[protected]

void  add_target (const string& target_class, const string& target_instance)

add_target

[protected]

void  remove_target (const string& target_class, const string& target_instance)

remove_target

[protected]


Generated by: pavlin on possum.icir.org on Thu Jul 8 23:48:33 2004, using kdoc $.