Deepsy Platformmanager namespace that includes the different enums, structs or method signatures that should be used.
|
typedef boost::function< void(const bool &available)> | service_availability_handler |
| Prototype of the handler function used to monitor service availability. More...
|
|
typedef boost::function< void(boost::system::error_code error_code, std::vector< dpyPlatformmanager::Info > info)> | process_status_handler_function |
| Handler for status function callback. More...
|
|
typedef boost::function< void(boost::system::error_code error_code, std::vector< dpyPlatformmanager::ExtendedProcessInfo > info)> | extended_process_status_handler_function |
| Handler for status function callback. More...
|
|
typedef boost::function< void(boost::system::error_code error_code, const dpyPlatformmanager::EvaluationStatus &status)> | evaluation_status_handler_function |
| Handler for status function callback. More...
|
|
typedef boost::function< void(boost::system::error_code error_code)> | result_handler_function |
| Handler for command function callback. More...
|
|
typedef boost::function< void(boost::system::error_code error_code, std::string name, ProcessListEvent event, Options options)> | process_list_event_handler_function |
| Handler for process list events. More...
|
|
typedef boost::function< void(boost::system::error_code error_code, std::string name, ProcessListEvent event, dpyPlatformmanager::ExtendedProcessOptions options)> | process_list_event_extended_handler_function |
| Handler for process list events. More...
|
|
typedef boost::function< void(boost::system::error_code error_code, std::string name, ProcessEvent event)> | process_event_handler_function |
| Handler for process events. More...
|
|
This type of function is called when the status callback is done.
- Parameters
-
error_code | error code (if any) |
info | vector with the status of the processes |
This type of function is called when the status callback is done.
- Parameters
-
error_code | error code (if any) |
info | vector with the status of the processes |
This type of function is called when a process is started,stopped or relaunched
- Parameters
-
error_code | error code (if any) |
This type of function is called when a process is added or removed.
- Parameters
-
error_code | error code (if any) |
This type of function is called when a process is added or removed.
- Parameters
-
error_code | error code (if any) |
This type of function is called when the status callback is done.
- Parameters
-
error_code | error code (if any) |
info | vector with the status of the processes |
This type of function is called when a command (start,stop,add,del) callback is done.
- Parameters
-
error_code | error code (if any) |
- Parameters
-
available | true if the service is available, false otherwise |
Evaluation result
Enumerator |
---|
OK |
evaluation ok
|
ERROR |
evaluation error
|
Evaluation status
Enumerator |
---|
WAITING_FOR_EVALUATION |
waiting for processes evaluation
|
WAITING_FOR_ROLLING_BACK |
waiting for processes rolling back
|
EVALUATION_OK |
evaluation ok
|
IDLE |
idle
|
Process events
Enumerator |
---|
STARTED |
process has been started
|
STOPPED |
process has been stopped
|
RELAUNCHED |
process has been relaunched
|
Process list events
Enumerator |
---|
ADDED |
process has been added
|
REMOVED |
process has been removed
|