sabtain khan
|
Howto write a custom action for a condition in HAM
|
sabtain khan
11/16/2007 3:20 PM
post2713
|
Howto write a custom action for a condition in HAM
I will explain the problem in details. I am writing an application that monitors itself using ham. Basically, it forks
itself on the startup and the child process monitors the parent process. If the parent processor dies, the child process
forks again and now becomes the parent processor.
The solution I have thought of is to create a custom action that is associated to the condition of death and then
associate it to the entity that is registered by the child process. In my custom action I will fork once the condition
is detected.
The problem is I do not see the source code for HAM API and hence I do not know where to start
|
|
|