Main Page   Compound List   File List   Compound Members   File Members   Related Pages  

internal_reg_info Struct Reference

#include <ahm_lib.h>

List of all members.

Public Attributes

pid_t pid
unsigned long id
char process_name [STRING_LENGTH]
char recovery_script [STRING_LENGTH]
char registration_file [STRING_LENGTH]
unsigned long max_interval
unsigned long min_interval
char hb_fifo [STRING_LENGTH]
int hb_fifo_fd
unsigned long registration_timeout


Member Data Documentation

char internal_reg_info::hb_fifo[STRING_LENGTH]
 

The absolute path of the heartbeat fifo

int internal_reg_info::hb_fifo_fd
 

The file descriptor of the open heartbeat fifo

unsigned long internal_reg_info::id
 

The identifer used for this thread, which is unique among this application's threads

unsigned long internal_reg_info::max_interval
 

the maximum amount of time to lapse between heartbeats. This is how frequently the daemon will expect the heartbeats.

unsigned long internal_reg_info::min_interval
 

the minimum amount of time to lapse between heartbeats. This is the value used by the application to send heartbeats. An min,max interval is used to minimize false heartbeat failures

pid_t internal_reg_info::pid
 

The process identifier for the registering application

char internal_reg_info::process_name[STRING_LENGTH]
 

This is the process name as it should appear in /proc. It should not contain any path, simply the executable name

char internal_reg_info::recovery_script[STRING_LENGTH]
 

The absolute path to the recovery script to be launched if/when the application misses a heartbeat

char internal_reg_info::registration_file[STRING_LENGTH]
 

This is the registration file name

unsigned long internal_reg_info::registration_timeout
 

This is used to indicate when registration has failed. This value should be at least equal to the heartbeat service's registration interval. An application will initialize and then register, yet the heartbeat service may take up to X seconds to process the registration (as defined as startup of the service). This allows the client to wait a reasonable amount of time before considering registration as a failure. NOTE: at this time, this value is set using REGISTRAION_TIMEOUT. It will be determined later if we need to have this be set dynamically.


The documentation for this struct was generated from the following file:
Generated on Wed Oct 30 15:14:42 2002 for Application Heartbeat Monitor Client Library by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002