11 #ifndef WRENCH_SERVICEMESSAGE_H
12 #define WRENCH_SERVICEMESSAGE_H
15 #include "wrench/simulation/SimulationMessage.h"
16 #include "wrench/services/compute/ComputeService.h"
27 class ServiceMessage :
public SimulationMessage {
29 ServiceMessage(
double payload);
36 class ServiceStopDaemonMessage :
public ServiceMessage {
40 ServiceStopDaemonMessage(simgrid::s4u::Mailbox *ack_mailbox,
bool send_failure_notifications,
ComputeService::TerminationCause termination_cause,
double payload);
43 simgrid::s4u::Mailbox *ack_mailbox;
45 bool send_failure_notifications;
53 class ServiceDaemonStoppedMessage :
public ServiceMessage {
55 ServiceDaemonStoppedMessage(
double payload);
63 class ServiceTTLExpiredMessage :
public ServiceMessage {
65 ServiceTTLExpiredMessage(
double payload);
77 #endif //WRENCH_SERVICEMESSAGE_H