WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
ServiceMessage.h
1 
11 #ifndef WRENCH_SERVICEMESSAGE_H
12 #define WRENCH_SERVICEMESSAGE_H
13 
14 
15 #include "wrench/simulation/SimulationMessage.h"
16 #include "wrench/services/compute/ComputeService.h"
17 
18 namespace wrench {
19 
20  /***********************/
22  /***********************/
23 
28  protected:
29  ServiceMessage( double payload);
30 
31  };
32 
37  public:
38 // ~ServiceStopDaemonMessage(){};
39 
41 
43  simgrid::s4u::Mailbox *ack_mailbox;
48  };
49 
54  public:
56  };
57 
58 
64  public:
66  };
67 
68 
69 
70 
71  /***********************/
73  /***********************/
74 
75 };
76 
77 #endif //WRENCH_SERVICEMESSAGE_H
wrench::ComputeService::TerminationCause
TerminationCause
Job termination cause enum.
Definition: ComputeService.h:67
wrench::ServiceStopDaemonMessage::termination_cause
ComputeService::TerminationCause termination_cause
The termination cause for the failure notifications, if any.
Definition: ServiceMessage.h:47
wrench::SimulationMessage
Top-level class to describe a message communicated by processes in the simulation.
Definition: SimulationMessage.h:28
wrench::ServiceStopDaemonMessage
A message sent to a Service to request for it to terminate.
Definition: ServiceMessage.h:36
wrench::ServiceDaemonStoppedMessage
A message sent by a Service to acknowledge a terminate request.
Definition: ServiceMessage.h:53
wrench::ServiceMessage
Top-level class for messages received/sent by a Service.
Definition: ServiceMessage.h:27
wrench::ServiceDaemonStoppedMessage::ServiceDaemonStoppedMessage
ServiceDaemonStoppedMessage(double payload)
Constructor.
Definition: ServiceMessage.cpp:43
wrench
Definition: Action.cpp:28
wrench::ServiceStopDaemonMessage::ack_mailbox
simgrid::s4u::Mailbox * ack_mailbox
the mailbox to which the "I stopped" ack should be sent
Definition: ServiceMessage.h:43
wrench::SimulationMessage::payload
double payload
The message name.
Definition: SimulationMessage.h:40
wrench::ServiceTTLExpiredMessage
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
wrench::ServiceMessage::ServiceMessage
ServiceMessage(double payload)
Constructor.
Definition: ServiceMessage.cpp:20
wrench::ServiceTTLExpiredMessage::ServiceTTLExpiredMessage
ServiceTTLExpiredMessage(double payload)
Constructor.
Definition: ServiceMessage.cpp:53
wrench::ServiceStopDaemonMessage::ServiceStopDaemonMessage
ServiceStopDaemonMessage(simgrid::s4u::Mailbox *ack_mailbox, bool send_failure_notifications, ComputeService::TerminationCause termination_cause, double payload)
Constructor.
Definition: ServiceMessage.cpp:32
wrench::ServiceStopDaemonMessage::send_failure_notifications
bool send_failure_notifications
whether the service should send failure notifications before terminating
Definition: ServiceMessage.h:45