11 #ifndef WRENCH_SERVICEMESSAGE_H
12 #define WRENCH_SERVICEMESSAGE_H
15 #include "wrench/simulation/SimulationMessage.h"
16 #include "wrench/services/compute/ComputeService.h"
77 #endif //WRENCH_SERVICEMESSAGE_H
TerminationCause
Job termination cause enum.
Definition: ComputeService.h:67
ComputeService::TerminationCause termination_cause
The termination cause for the failure notifications, if any.
Definition: ServiceMessage.h:47
Top-level class to describe a message communicated by processes in the simulation.
Definition: SimulationMessage.h:28
A message sent to a Service to request for it to terminate.
Definition: ServiceMessage.h:36
A message sent by a Service to acknowledge a terminate request.
Definition: ServiceMessage.h:53
Top-level class for messages received/sent by a Service.
Definition: ServiceMessage.h:27
ServiceDaemonStoppedMessage(double payload)
Constructor.
Definition: ServiceMessage.cpp:43
Definition: Action.cpp:28
simgrid::s4u::Mailbox * ack_mailbox
the mailbox to which the "I stopped" ack should be sent
Definition: ServiceMessage.h:43
double payload
The message name.
Definition: SimulationMessage.h:40
A message sent to a Service to notify it that its time-to-live has expired (which will cause the serv...
Definition: ServiceMessage.h:63
ServiceMessage(double payload)
Constructor.
Definition: ServiceMessage.cpp:20
ServiceTTLExpiredMessage(double payload)
Constructor.
Definition: ServiceMessage.cpp:53
ServiceStopDaemonMessage(simgrid::s4u::Mailbox *ack_mailbox, bool send_failure_notifications, ComputeService::TerminationCause termination_cause, double payload)
Constructor.
Definition: ServiceMessage.cpp:32
bool send_failure_notifications
whether the service should send failure notifications before terminating
Definition: ServiceMessage.h:45