wrench::ServiceStopDaemonMessage
-
class ServiceStopDaemonMessage : public wrench::ServiceMessage
A message sent to a Service to request for it to terminate.
Public Functions
-
ServiceStopDaemonMessage(S4U_CommPort *ack_commport, bool send_failure_notifications, ComputeService::TerminationCause termination_cause, sg_size_t payload)
Constructor.
- Parameters:
ack_commport – commport to which the DaemonStoppedMessage ack will be sent. No ack will be sent if ack_commport=””
send_failure_notifications – whether the service should send failure notifications before terminating
termination_cause – the termination cause (if failure notifications are sent)
payload – message size in bytes
Public Members
-
S4U_CommPort *ack_commport
the commport_name to which the “I stopped” ack should be sent
-
bool send_failure_notifications
whether the service should send failure notifications before terminating
-
ComputeService::TerminationCause termination_cause
The termination cause for the failure notifications, if any.
-
ServiceStopDaemonMessage(S4U_CommPort *ack_commport, bool send_failure_notifications, ComputeService::TerminationCause termination_cause, sg_size_t payload)