10 #ifndef WRENCH_BATCHSERVICEMESSAGE_H
11 #define WRENCH_BATCHSERVICEMESSAGE_H
14 #include "wrench/services/compute/ComputeServiceMessage.h"
40 std::shared_ptr<BatchJob>
job;
51 std::shared_ptr<BatchJob>
job;
60 AlarmNotifyBatschedMessage(std::string job_id,
double payload);
70 class BatchSimulationBeginsToSchedulerMessage :
public BatchComputeServiceMessage {
72 BatchSimulationBeginsToSchedulerMessage(std::string answer_mailbox, std::string job_args_to_scheduler,
double payload);
75 std::string answer_mailbox;
77 std::string job_args_to_scheduler;
85 class BatchSchedReadyMessage :
public BatchComputeServiceMessage {
87 BatchSchedReadyMessage(std::string answer_mailbox,
double payload);
90 std::string answer_mailbox;
143 BatchJobSubmissionToSchedulerMessage(simgrid::s4u::Mailbox *answer_mailbox,
Job* job, std::string job_args_to_scheduler,
double payload);
146 simgrid::s4u::Mailbox *answer_mailbox;
150 std::string job_args_to_scheduler;
158 class BatchJobReplyFromSchedulerMessage :
public BatchComputeServiceMessage {
160 BatchJobReplyFromSchedulerMessage(std::string,
double);
174 #endif //WRENCH_BATCHSERVICEMESSAGE_H
simgrid::s4u::Mailbox * answer_mailbox
The mailbox to answer to.
Definition: BatchComputeServiceMessage.h:105
BatchExecuteJobFromBatSchedMessage(simgrid::s4u::Mailbox *answer_mailbox, std::string batsched_decision_reply, double payload)
Constructor.
Definition: BatchComputeServiceMessage.cpp:76
A message send by a BatschedNetworkListener to a Batsched-enabled BatchComputeService with a job star...
Definition: BatchComputeServiceMessage.h:115
Top-level class for messages received/sent by a ComputeService.
Definition: ComputeServiceMessage.h:32
Abstraction of a job used for executing tasks in a Workflow.
Definition: Job.h:34
BatchQueryAnswerMessage(double estimated_job_start_time, double payload)
Constructor.
Definition: BatchComputeServiceMessage.cpp:97
A message sent by a BatschedNetworkListener to a Batsched-enabled BatchComputeService to tell it to s...
Definition: BatchComputeServiceMessage.h:100
A message sent by an alarm when a job goes over its requested execution time.
Definition: BatchComputeServiceMessage.h:47
Top-level class for messages received/sent by a Service.
Definition: ServiceMessage.h:27
Definition: Action.cpp:28
std::shared_ptr< BatchJob > job
The batch_standard_and_pilot_jobs job.
Definition: BatchComputeServiceMessage.h:51
AlarmJobTimeOutMessage(std::shared_ptr< BatchJob > job, double payload)
Constructor.
Definition: BatchComputeServiceMessage.cpp:175
std::shared_ptr< BatchJob > job
The batch_standard_and_pilot_jobs job.
Definition: BatchComputeServiceMessage.h:40
Top-level class for messages received/sent by a BatchComputeService.
Definition: BatchComputeServiceMessage.h:25
double payload
The message name.
Definition: SimulationMessage.h:40
BatchComputeServiceMessage(double payload)
Constructor.
Definition: BatchComputeServiceMessage.cpp:20
simgrid::s4u::Mailbox * answer_mailbox
The mailbox to answer to.
Definition: BatchComputeServiceMessage.h:38
BatchComputeServiceJobRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, std::shared_ptr< BatchJob > job, double payload)
Constructor.
Definition: BatchComputeServiceMessage.cpp:155
std::string batsched_decision_reply
The decision reply from Batsched.
Definition: BatchComputeServiceMessage.h:108
double estimated_start_time
The estimated job start time.
Definition: BatchComputeServiceMessage.h:120
A message sent to a BatchComputeService to submit a batch_standard_and_pilot_jobs job for execution.
Definition: BatchComputeServiceMessage.h:33