CarLinO_process will use this informations to control the process behavior and performances.
| |
CarLinO_core | | Application
| |
_________________| _______________ |___________
| | Register CarLinO app | | Inehrit | |
| CarLinO_process | <---------------------- | CarLinO_leash | . . . . . | app_leash |
| | | | | |
| | messages / alerts | control | | |
| | ------------------------|---------------|---------> | ---. |
| | | | | | | |
| | | action | | action |
| | response | | | | | |
| | <-----------------------|---------------|---------- | <---' |
|_________________| |_______________| |___________|
| |
| |
| |
The app_leash class must act and responding properly at all PING/warning messages to avoid control action from CarLinO. CarLinO use a black list to put into the disobedient processes and it will apply policies to tame they.
This messages are received in the Dispach method of CarLinO_leash classe. This method is a pure virtual method and have to be implemented in the derived class of CarLinO_leash. A CarLinO native application have to use this class to allow the CarLinO_core managing. If it doesn't do it CarLinO_core could discared this application.
1.5.8