11 #ifndef WRENCH_FAILUREDETECTORMESSAGE_H
12 #define WRENCH_FAILUREDETECTORMESSAGE_H
15 #include "wrench/simulation/SimulationMessage.h"
16 #include "wrench-dev.h"
28 class ServiceTerminationDetectorMessage :
public SimulationMessage {
30 explicit ServiceTerminationDetectorMessage();
37 class ServiceHasCrashedMessage :
public ServiceTerminationDetectorMessage {
39 explicit ServiceHasCrashedMessage(std::shared_ptr<Service> service);
42 std::shared_ptr<Service> service;
49 class ServiceHasTerminatedMessage :
public ServiceTerminationDetectorMessage {
51 explicit ServiceHasTerminatedMessage(std::shared_ptr<Service> service,
int exit_code);
54 std::shared_ptr<Service> service;
65 #endif //WRENCH_FAILUREDETECTORMESSAGE_H