10 #ifndef WRENCH_FAILUREDETECTOR_H
11 #define WRENCH_FAILUREDETECTOR_H
13 #include "wrench/services/Service.h"
14 #include "wrench/simgrid_S4U_util/S4U_Daemon.h"
30 explicit ServiceTerminationDetector(std::string host_on_which_to_run, std::shared_ptr<Service> service_to_monitor, std::string mailbox_to_notify,
bool notify_on_crash,
bool notify_on_termination);
35 std::shared_ptr<Service> service_to_monitor;
36 std::string mailbox_to_notify;
39 bool notify_on_termination;
53 #endif //WRENCH_FAILUREDETECTOR_H
A service that immediately detects when some service crashes and then notifies some other service of ...
Definition: ServiceTerminationDetector.h:26
ServiceTerminationDetector(std::string host_on_which_to_run, std::shared_ptr< Service > service_to_monitor, std::string mailbox_to_notify, bool notify_on_crash, bool notify_on_termination)
Constructor.
Definition: ServiceTerminationDetector.cpp:26
A service that can be added to the simulation and that can be used by a WMS when executing a workflow...
Definition: Service.h:26