LivenessMonitor Class Reference

#include <liveness_monitor.H>

Collaboration diagram for LivenessMonitor:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LivenessMonitor (string, string, string, string, double)
virtual ~LivenessMonitor ()
void go (Process *p)
void expiredHandler ()
void runOnFailure ()
ProcessgetProcess (void) const
ProcessgetFailProcess (void) const

Private Attributes

string _success_action_script
string _failure_action_script
string _liveness_script
string _args
pid_t _pid
LivenessMonitorTHhandler
LivenessMonitorEH_event_handler
LivenessMonitorEH_fail_event_handler
Process_process
Process_parent
Process_fail_process
double _interval


Constructor & Destructor Documentation

LivenessMonitor::LivenessMonitor ( string  live,
string  trueact,
string  falseact,
string  args,
double  interval 
)

virtual LivenessMonitor::~LivenessMonitor (  )  [inline, virtual]


Member Function Documentation

void LivenessMonitor::go ( Process p  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void LivenessMonitor::expiredHandler (  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void LivenessMonitor::runOnFailure (  ) 

Here is the call graph for this function:

Process* LivenessMonitor::getProcess ( void   )  const [inline]

Here is the caller graph for this function:

Process* LivenessMonitor::getFailProcess ( void   )  const [inline]

Here is the caller graph for this function:


Member Data Documentation

string LivenessMonitor::_args [private]

pid_t LivenessMonitor::_pid [private]

double LivenessMonitor::_interval [private]


The documentation for this class was generated from the following files:

Generated on Thu Jun 11 14:09:52 2009 for Gush by  doxygen 1.5.5