WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
ComputeServiceMessage.h
1 
11 #ifndef WRENCH_COMPUTESERVICEMESSAGE_H
12 #define WRENCH_COMPUTESERVICEMESSAGE_H
13 
14 #include <memory>
15 #include <vector>
16 #include "wrench/failure_causes/FailureCause.h"
17 #include "wrench/services/ServiceMessage.h"
18 
19 namespace wrench {
20 
21  class StandardJob;
22 
23  class PilotJob;
24 
25  /***********************/
27  /***********************/
28 
33  protected:
35  };
36 
37 
38 // /**
39 // * @brief A message sent to a ComputeService to submit a StandardJob for execution
40 // */
41 // class ComputeServiceSubmitStandardJobRequestMessage : public ComputeServiceMessage {
42 // public:
43 // ComputeServiceSubmitStandardJobRequestMessage(const std::string answer_mailbox, std::shared_ptr<StandardJob> ,
44 // const std::map<std::string, std::string> service_specific_args,
45 // double payload);
46 //
47 // /** @brief The mailbox to which the answer message should be sent */
48 // std::string answer_mailbox;
49 // /** @brief The submitted job */
50 // std::shared_ptr<StandardJob> job;
51 // /** @brief Service specific arguments */
52 // std::map<std::string, std::string> service_specific_args;
53 // };
54 
55 // /**
56 // * @brief A message sent by a ComputeService in answer to a StandardJob submission request
57 // */
58 // class ComputeServiceSubmitStandardJobAnswerMessage : public ComputeServiceMessage {
59 // public:
60 // ComputeServiceSubmitStandardJobAnswerMessage(std::shared_ptr<StandardJob> , std::shared_ptr<ComputeService>, bool success,
61 // std::shared_ptr<FailureCause> failure_cause, double payload);
62 //
63 // /** @brief The standard job that was submitted */
64 // std::shared_ptr<StandardJob> job;
65 // /** @brief The compute service to which the job was submitted */
66 // std::shared_ptr<ComputeService> compute_service;
67 // /** @brief Whether to job submission was successful */
68 // bool success;
69 // /** @brief The cause of the failure, or nullptr on success */
70 // std::shared_ptr<FailureCause> failure_cause;
71 // };
72 
73 // /**
74 // * @brief A message sent by a ComputeService when a StandardJob has completed execution
75 // */
76 // class ComputeServiceStandardJobDoneMessage : public ComputeServiceMessage {
77 // public:
78 // ComputeServiceStandardJobDoneMessage(std::shared_ptr<StandardJob> , std::shared_ptr<ComputeService>, double payload);
79 //
80 // /** @brief The job that has completed */
81 // std::shared_ptr<StandardJob> job;
82 // /** @brief The compute service on which the job has completed */
83 // std::shared_ptr<ComputeService> compute_service;
84 // };
85 //
86 // /**
87 // * @brief A message sent by a ComputeService when a StandardJob has failed to execute
88 // */
89 // class ComputeServiceStandardJobFailedMessage : public ComputeServiceMessage {
90 // public:
91 // ComputeServiceStandardJobFailedMessage(std::shared_ptr<StandardJob> , std::shared_ptr<ComputeService>,
92 // std::shared_ptr<FailureCause> cause,
93 // double payload);
94 //
95 // /** @brief The job that has failed */
96 // std::shared_ptr<StandardJob> job;
97 // /** @brief The compute service on which the job has failed */
98 // std::shared_ptr<ComputeService> compute_service;
99 // /** @brief The cause of the failure */
100 // std::shared_ptr<FailureCause> cause;
101 // };
102 //
103 // /**
104 // * @brief A message sent to a ComputeService to terminate a StandardJob previously submitted for execution
105 // */
106 // class ComputeServiceTerminateStandardJobRequestMessage : public ComputeServiceMessage {
107 // public:
108 // ComputeServiceTerminateStandardJobRequestMessage(std::string answer_mailbox, std::shared_ptr<StandardJob> , double payload);
109 //
110 // /** @brief The mailbox to which the answer message should be sent */
111 // std::string answer_mailbox;
112 // /** @brief The job to terminate*/
113 // std::shared_ptr<StandardJob> job;
114 // };
115 //
116 // /**
117 // * @brief A message sent by a ComputeService in answer to a StandardJob termination request
118 // */
119 // class ComputeServiceTerminateStandardJobAnswerMessage : public ComputeServiceMessage {
120 // public:
121 // ComputeServiceTerminateStandardJobAnswerMessage(std::shared_ptr<StandardJob> , std::shared_ptr<ComputeService>, bool success,
122 // std::shared_ptr<FailureCause> failure_cause, double payload);
123 //
124 // /** @brief The standard job to terminate */
125 // std::shared_ptr<StandardJob> job;
126 // /** @brief The compute service to which the job had been submitted */
127 // std::shared_ptr<ComputeService> compute_service;
128 // /** @brief Whether to job termination was successful */
129 // bool success;
130 // /** @brief The cause of the failure, or nullptr on success */
131 // std::shared_ptr<FailureCause> failure_cause;
132 // };
133 
138  public:
140  std::shared_ptr<CompoundJob> job,
141  const std::map<std::string, std::string> service_specific_args,
142  double payload);
143 
145  simgrid::s4u::Mailbox *answer_mailbox;
147  std::shared_ptr<CompoundJob> job;
149  std::map<std::string, std::string> service_specific_args;
150  };
151 
156  public:
157  ComputeServiceSubmitCompoundJobAnswerMessage(std::shared_ptr<CompoundJob> , std::shared_ptr<ComputeService>, bool success,
158  std::shared_ptr<FailureCause> failure_cause, double payload);
159 
161  std::shared_ptr<CompoundJob> job;
163  std::shared_ptr<ComputeService> compute_service;
165  bool success;
167  std::shared_ptr<FailureCause> failure_cause;
168  };
169 
174  public:
175  ComputeServiceCompoundJobDoneMessage(std::shared_ptr<CompoundJob> , std::shared_ptr<ComputeService>, double payload);
176 
178  std::shared_ptr<CompoundJob> job;
180  std::shared_ptr<ComputeService> compute_service;
181  };
182 
187  public:
188  ComputeServiceCompoundJobFailedMessage(std::shared_ptr<CompoundJob> , std::shared_ptr<ComputeService>,
189  double payload);
190 
192  std::shared_ptr<CompoundJob> job;
194  std::shared_ptr<ComputeService> compute_service;
195  };
196 
201  public:
202  ComputeServiceTerminateCompoundJobRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, std::shared_ptr<CompoundJob> , double payload);
203 
205  simgrid::s4u::Mailbox *answer_mailbox;
207  std::shared_ptr<CompoundJob> job;
208  };
209 
214  public:
215  ComputeServiceTerminateCompoundJobAnswerMessage(std::shared_ptr<CompoundJob> , std::shared_ptr<ComputeService>, bool success,
216  std::shared_ptr<FailureCause> failure_cause, double payload);
217 
219  std::shared_ptr<CompoundJob> job;
221  std::shared_ptr<ComputeService> compute_service;
223  bool success;
225  std::shared_ptr<FailureCause> failure_cause;
226  };
227 
228 // /**
229 // * @brief A message sent to a ComputeService to submit a PilotJob for execution
230 // */
231 // class ComputeServiceSubmitPilotJobRequestMessage : public ComputeServiceMessage {
232 // public:
233 // ComputeServiceSubmitPilotJobRequestMessage(std::string answer_mailbox, std::shared_ptr<PilotJob> ,
234 // const std::map<std::string, std::string> service_specific_args,
235 // double payload);
236 //
237 // /** @brief The mailbox to which the answer message should be sent */
238 // std::string answer_mailbox;
239 // /** @brief The submitted pilot job */
240 // std::shared_ptr<PilotJob> job;
241 // /** @brief Service specific arguments */
242 // std::map<std::string, std::string> service_specific_args;
243 // };
244 //
245 // /**
246 // * @brief A message sent by a ComputeService in answer to a PilotJob submission request
247 // */
248 // class ComputeServiceSubmitPilotJobAnswerMessage : public ComputeServiceMessage {
249 // public:
250 // ComputeServiceSubmitPilotJobAnswerMessage(std::shared_ptr<PilotJob> , std::shared_ptr<ComputeService>, bool success,
251 // std::shared_ptr<FailureCause> cause,
252 // double payload);
253 //
254 // /** @brief The submitted pilot job */
255 // std::shared_ptr<PilotJob> job;
256 // /** @brief The compute service to which the job was submitted */
257 // std::shared_ptr<ComputeService> compute_service;
258 // /** @brief Whether the job submission was successful or not */
259 // bool success;
260 // /** @brief The cause of the failure, or nullptr on success */
261 // std::shared_ptr<FailureCause> failure_cause;
262 // };
263 
264 
269  public:
270  ComputeServicePilotJobStartedMessage(std::shared_ptr<PilotJob> , std::shared_ptr<ComputeService>, double payload);
271 
273  std::shared_ptr<PilotJob> job;
275  std::shared_ptr<ComputeService> compute_service;
276  };
277 
282  public:
283  ComputeServicePilotJobExpiredMessage(std::shared_ptr<PilotJob> , std::shared_ptr<ComputeService>, double payload);
284 
286  std::shared_ptr<PilotJob> job;
288  std::shared_ptr<ComputeService> compute_service;
289  };
290 
295  public:
296  ComputeServicePilotJobFailedMessage(std::shared_ptr<PilotJob> ,
297  std::shared_ptr<ComputeService>,
298  std::shared_ptr<FailureCause> cause,
299  double payload);
300 
302  std::shared_ptr<PilotJob> job;
304  std::shared_ptr<ComputeService> compute_service;
306  std::shared_ptr<FailureCause> cause;
307  };
308 
313  public:
314  ComputeServiceTerminatePilotJobRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, std::shared_ptr<PilotJob> , double payload);
315 
317  simgrid::s4u::Mailbox *answer_mailbox;
319  std::shared_ptr<PilotJob> job;
320  };
321 
326  public:
327  ComputeServiceTerminatePilotJobAnswerMessage(std::shared_ptr<PilotJob> , std::shared_ptr<ComputeService> compute_service,
328  bool success,
329  std::shared_ptr<FailureCause> failure_cause, double payload);
330 
332  std::shared_ptr<PilotJob> job;
334  std::shared_ptr<ComputeService> compute_service;
336  bool success;
338  std::shared_ptr<FailureCause> failure_cause;
339  };
340 
341 
346  public:
347  ComputeServiceResourceInformationRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, const std::string &key, double payload);
348 
350  simgrid::s4u::Mailbox *answer_mailbox;
352  const std::string &key;
353  };
354 
359  public:
360  ComputeServiceResourceInformationAnswerMessage(std::map<std::string, double> info,
361  double payload);
362 
364  std::map<std::string, double> info;
365  };
366 
371  public:
373  unsigned long num_cores,
374  double ram, double payload);
375 
377  simgrid::s4u::Mailbox *answer_mailbox;
379  unsigned long num_cores;
381  double ram;
382  };
383 
388  public:
390 
392  bool answer;
393  };
394 
395  /***********************/
397  /***********************/
398 
399 };
400 
401 #endif //WRENCH_COMPUTESERVICEMESSAGE_H
wrench::ComputeServiceTerminateCompoundJobAnswerMessage
A message sent by a ComputeService in answer to a CompoundJob termination request.
Definition: ComputeServiceMessage.h:213
wrench::ComputeServiceTerminateCompoundJobAnswerMessage::compute_service
std::shared_ptr< ComputeService > compute_service
The compute service to which the job had been submitted.
Definition: ComputeServiceMessage.h:221
wrench::ComputeServiceSubmitCompoundJobRequestMessage::job
std::shared_ptr< CompoundJob > job
The submitted job.
Definition: ComputeServiceMessage.h:147
wrench::ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesAnswerMessage::ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesAnswerMessage
ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesAnswerMessage(bool answer, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:392
wrench::ComputeServiceSubmitCompoundJobAnswerMessage::job
std::shared_ptr< CompoundJob > job
The standard job that was submitted.
Definition: ComputeServiceMessage.h:161
wrench::ComputeServiceCompoundJobFailedMessage::compute_service
std::shared_ptr< ComputeService > compute_service
The compute service on which the job has failed.
Definition: ComputeServiceMessage.h:194
wrench::ComputeServiceSubmitCompoundJobRequestMessage
A message sent to a ComputeService to submit a CompoundJob for execution.
Definition: ComputeServiceMessage.h:137
wrench::ComputeServiceResourceInformationAnswerMessage
A message sent by a ComputeService in answer to a resource information request.
Definition: ComputeServiceMessage.h:358
wrench::ComputeServiceTerminatePilotJobAnswerMessage::job
std::shared_ptr< PilotJob > job
The job to terminate.
Definition: ComputeServiceMessage.h:332
wrench::ComputeServiceMessage
Top-level class for messages received/sent by a ComputeService.
Definition: ComputeServiceMessage.h:32
wrench::ComputeServiceResourceInformationRequestMessage::answer_mailbox
simgrid::s4u::Mailbox * answer_mailbox
The mailbox to which the answer should be sent.
Definition: ComputeServiceMessage.h:350
wrench::ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesAnswerMessage
A message sent by a ComputeService in answer to a "does at least one host have these available resour...
Definition: ComputeServiceMessage.h:387
wrench::ComputeServiceTerminatePilotJobAnswerMessage::failure_cause
std::shared_ptr< FailureCause > failure_cause
The cause of the failure, or nullptr on success.
Definition: ComputeServiceMessage.h:338
wrench::ComputeServicePilotJobFailedMessage::job
std::shared_ptr< PilotJob > job
The pilot job that has failed.
Definition: ComputeServiceMessage.h:302
wrench::ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage::num_cores
unsigned long num_cores
The number of cores desired.
Definition: ComputeServiceMessage.h:379
wrench::ComputeServiceCompoundJobFailedMessage
A message sent by a ComputeService when a CompoundJob has failed to execute.
Definition: ComputeServiceMessage.h:186
wrench::ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage::answer_mailbox
simgrid::s4u::Mailbox * answer_mailbox
The mailbox to which a reply should be sent.
Definition: ComputeServiceMessage.h:377
wrench::ComputeServicePilotJobFailedMessage::compute_service
std::shared_ptr< ComputeService > compute_service
The compute service on which the pilot job failed.
Definition: ComputeServiceMessage.h:304
wrench::ComputeServiceResourceInformationAnswerMessage::info
std::map< std::string, double > info
The resource information map.
Definition: ComputeServiceMessage.h:364
wrench::ComputeServiceMessage::ComputeServiceMessage
ComputeServiceMessage(double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:22
wrench::ComputeServicePilotJobStartedMessage
A message sent by a ComputeService when a PilotJob has started its execution.
Definition: ComputeServiceMessage.h:268
wrench::ComputeServicePilotJobStartedMessage::compute_service
std::shared_ptr< ComputeService > compute_service
The compute service on which the pilot job has started.
Definition: ComputeServiceMessage.h:275
wrench::ComputeServiceTerminatePilotJobAnswerMessage::success
bool success
Whether to job termination was successful.
Definition: ComputeServiceMessage.h:336
wrench::ServiceMessage
Top-level class for messages received/sent by a Service.
Definition: ServiceMessage.h:27
wrench::ComputeServiceTerminateCompoundJobRequestMessage::answer_mailbox
simgrid::s4u::Mailbox * answer_mailbox
The mailbox to which the answer message should be sent.
Definition: ComputeServiceMessage.h:205
wrench::ComputeServiceTerminateCompoundJobRequestMessage::ComputeServiceTerminateCompoundJobRequestMessage
ComputeServiceTerminateCompoundJobRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, std::shared_ptr< CompoundJob >, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:124
wrench::ComputeServicePilotJobExpiredMessage
A message sent by a ComputeService when a PilotJob has expired.
Definition: ComputeServiceMessage.h:281
wrench::ComputeServicePilotJobExpiredMessage::job
std::shared_ptr< PilotJob > job
The pilot job that has expired.
Definition: ComputeServiceMessage.h:286
wrench::ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage::ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage
ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, unsigned long num_cores, double ram, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:371
wrench::ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage::ram
double ram
The RAM desired.
Definition: ComputeServiceMessage.h:381
wrench
Definition: Action.cpp:28
wrench::ComputeServiceSubmitCompoundJobAnswerMessage::compute_service
std::shared_ptr< ComputeService > compute_service
The compute service to which the job was submitted.
Definition: ComputeServiceMessage.h:163
wrench::ComputeServiceTerminateCompoundJobRequestMessage::job
std::shared_ptr< CompoundJob > job
The job to terminate.
Definition: ComputeServiceMessage.h:207
wrench::ComputeServicePilotJobFailedMessage
A message sent by a ComputeService when a PilotJob has failed.
Definition: ComputeServiceMessage.h:294
wrench::ComputeServiceTerminatePilotJobRequestMessage::job
std::shared_ptr< PilotJob > job
The job to terminate.
Definition: ComputeServiceMessage.h:319
wrench::ComputeServiceTerminatePilotJobRequestMessage::answer_mailbox
simgrid::s4u::Mailbox * answer_mailbox
The mailbox to which the answer message should be sent.
Definition: ComputeServiceMessage.h:317
wrench::ComputeServiceSubmitCompoundJobAnswerMessage
A message sent by a ComputeService in answer to a CompoundJob submission request.
Definition: ComputeServiceMessage.h:155
wrench::ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesAnswerMessage::answer
bool answer
The true/false answer.
Definition: ComputeServiceMessage.h:392
wrench::ComputeServiceSubmitCompoundJobRequestMessage::answer_mailbox
simgrid::s4u::Mailbox * answer_mailbox
The mailbox to which the answer message should be sent.
Definition: ComputeServiceMessage.h:145
wrench::ComputeServicePilotJobFailedMessage::cause
std::shared_ptr< FailureCause > cause
The failure cause.
Definition: ComputeServiceMessage.h:306
wrench::ComputeServiceTerminatePilotJobAnswerMessage::ComputeServiceTerminatePilotJobAnswerMessage
ComputeServiceTerminatePilotJobAnswerMessage(std::shared_ptr< PilotJob >, std::shared_ptr< ComputeService > compute_service, bool success, std::shared_ptr< FailureCause > failure_cause, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:311
wrench::ComputeServiceCompoundJobDoneMessage::compute_service
std::shared_ptr< ComputeService > compute_service
The compute service on which the job has completed.
Definition: ComputeServiceMessage.h:180
wrench::ComputeServicePilotJobStartedMessage::job
std::shared_ptr< PilotJob > job
The pilot job that has started.
Definition: ComputeServiceMessage.h:273
wrench::SimulationMessage::payload
double payload
The message name.
Definition: SimulationMessage.h:40
wrench::ComputeServiceSubmitCompoundJobAnswerMessage::ComputeServiceSubmitCompoundJobAnswerMessage
ComputeServiceSubmitCompoundJobAnswerMessage(std::shared_ptr< CompoundJob >, std::shared_ptr< ComputeService >, bool success, std::shared_ptr< FailureCause > failure_cause, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:58
wrench::ComputeServiceSubmitCompoundJobAnswerMessage::success
bool success
Whether to job submission was successful.
Definition: ComputeServiceMessage.h:165
wrench::ComputeServiceTerminatePilotJobAnswerMessage::compute_service
std::shared_ptr< ComputeService > compute_service
The compute service to which the job had been submitted.
Definition: ComputeServiceMessage.h:334
wrench::ComputeServiceCompoundJobDoneMessage::job
std::shared_ptr< CompoundJob > job
The job that has completed.
Definition: ComputeServiceMessage.h:178
wrench::ComputeServiceSubmitCompoundJobRequestMessage::service_specific_args
std::map< std::string, std::string > service_specific_args
Service specific arguments.
Definition: ComputeServiceMessage.h:149
wrench::ComputeServicePilotJobExpiredMessage::compute_service
std::shared_ptr< ComputeService > compute_service
The compute service on which the pilot job has expired.
Definition: ComputeServiceMessage.h:288
wrench::ComputeServicePilotJobExpiredMessage::ComputeServicePilotJobExpiredMessage
ComputeServicePilotJobExpiredMessage(std::shared_ptr< PilotJob >, std::shared_ptr< ComputeService >, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:245
wrench::ComputeServiceTerminateCompoundJobRequestMessage
A message sent to a ComputeService to terminate a CompoundJob previously submitted for execution.
Definition: ComputeServiceMessage.h:200
wrench::ComputeServiceResourceInformationAnswerMessage::ComputeServiceResourceInformationAnswerMessage
ComputeServiceResourceInformationAnswerMessage(std::map< std::string, double > info, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:356
wrench::ComputeServiceResourceInformationRequestMessage
A message sent to a ComputeService to request information on its compute resources.
Definition: ComputeServiceMessage.h:345
wrench::ComputeServiceSubmitCompoundJobAnswerMessage::failure_cause
std::shared_ptr< FailureCause > failure_cause
The cause of the failure, or nullptr on success.
Definition: ComputeServiceMessage.h:167
wrench::ComputeServiceTerminateCompoundJobAnswerMessage::job
std::shared_ptr< CompoundJob > job
The standard job to terminate.
Definition: ComputeServiceMessage.h:219
wrench::ComputeServicePilotJobFailedMessage::ComputeServicePilotJobFailedMessage
ComputeServicePilotJobFailedMessage(std::shared_ptr< PilotJob >, std::shared_ptr< ComputeService >, std::shared_ptr< FailureCause > cause, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:266
wrench::ComputeServiceCompoundJobDoneMessage::ComputeServiceCompoundJobDoneMessage
ComputeServiceCompoundJobDoneMessage(std::shared_ptr< CompoundJob >, std::shared_ptr< ComputeService >, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:84
wrench::ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage
A message sent to a ComputeService to asks if at least one host has some available resources right no...
Definition: ComputeServiceMessage.h:370
wrench::ComputeServiceCompoundJobFailedMessage::job
std::shared_ptr< CompoundJob > job
The job that has failed.
Definition: ComputeServiceMessage.h:192
wrench::ComputeServiceTerminatePilotJobRequestMessage::ComputeServiceTerminatePilotJobRequestMessage
ComputeServiceTerminatePilotJobRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, std::shared_ptr< PilotJob >, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:288
wrench::ComputeServiceTerminateCompoundJobAnswerMessage::ComputeServiceTerminateCompoundJobAnswerMessage
ComputeServiceTerminateCompoundJobAnswerMessage(std::shared_ptr< CompoundJob >, std::shared_ptr< ComputeService >, bool success, std::shared_ptr< FailureCause > failure_cause, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:145
wrench::ComputeServiceTerminateCompoundJobAnswerMessage::failure_cause
std::shared_ptr< FailureCause > failure_cause
The cause of the failure, or nullptr on success.
Definition: ComputeServiceMessage.h:225
wrench::ComputeServiceResourceInformationRequestMessage::key
const std::string & key
The key (i.e., resource information name) desired.
Definition: ComputeServiceMessage.h:352
wrench::ComputeServiceCompoundJobFailedMessage::ComputeServiceCompoundJobFailedMessage
ComputeServiceCompoundJobFailedMessage(std::shared_ptr< CompoundJob >, std::shared_ptr< ComputeService >, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:104
wrench::ComputeServiceCompoundJobDoneMessage
A message sent by a ComputeService when a CompoundJob has completed execution.
Definition: ComputeServiceMessage.h:173
wrench::ComputeServiceTerminateCompoundJobAnswerMessage::success
bool success
Whether to job termination was successful.
Definition: ComputeServiceMessage.h:223
wrench::ComputeServicePilotJobStartedMessage::ComputeServicePilotJobStartedMessage
ComputeServicePilotJobStartedMessage(std::shared_ptr< PilotJob >, std::shared_ptr< ComputeService >, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:224
wrench::ComputeServiceSubmitCompoundJobRequestMessage::ComputeServiceSubmitCompoundJobRequestMessage
ComputeServiceSubmitCompoundJobRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, std::shared_ptr< CompoundJob > job, const std::map< std::string, std::string > service_specific_args, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:35
wrench::ComputeServiceTerminatePilotJobAnswerMessage
A message sent by a ComputeService in answer to a PilotJob termination request.
Definition: ComputeServiceMessage.h:325
wrench::ComputeServiceResourceInformationRequestMessage::ComputeServiceResourceInformationRequestMessage
ComputeServiceResourceInformationRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, const std::string &key, double payload)
Constructor.
Definition: ComputeServiceMessage.cpp:337
wrench::ComputeServiceTerminatePilotJobRequestMessage
A message sent to a ComputeService to terminate a PilotJob previously submitted for execution.
Definition: ComputeServiceMessage.h:312