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(std::string answer_mailbox,
WorkflowJob* job, std::string job_args_to_scheduler,
double payload);
146 std::string answer_mailbox;
150 std::string job_args_to_scheduler;
158 class BatchJobReplyFromSchedulerMessage :
public BatchComputeServiceMessage {
160 BatchJobReplyFromSchedulerMessage(std::string,
double);
174 #endif //WRENCH_BATCHSERVICEMESSAGE_H
A message send by a BatschedNetworkListener to a Batsched-enabled BatchComputeService with a job star...
Definition: BatchComputeServiceMessage.h:115
std::string name
The message name.
Definition: SimulationMessage.h:37
Top-level class for messages received/sent by a ComputeService.
Definition: ComputeServiceMessage.h:32
BatchExecuteJobFromBatSchedMessage(std::string answer_mailbox, std::string batsched_decision_reply, double payload)
Constructor.
Definition: BatchComputeServiceMessage.cpp:76
BatchQueryAnswerMessage(double estimated_job_start_time, double payload)
Constructor.
Definition: BatchComputeServiceMessage.cpp:99
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
BatchComputeServiceMessage(std::string name, double payload)
Constructor.
Definition: BatchComputeServiceMessage.cpp:20
Top-level class for messages received/sent by a Service.
Definition: ServiceMessage.h:27
std::string answer_mailbox
The mailbox to answer to.
Definition: BatchComputeServiceMessage.h:38
std::shared_ptr< BatchJob > job
The batch job.
Definition: BatchComputeServiceMessage.h:51
AlarmJobTimeOutMessage(std::shared_ptr< BatchJob > job, double payload)
Constructor.
Definition: BatchComputeServiceMessage.cpp:179
std::shared_ptr< BatchJob > job
The batch job.
Definition: BatchComputeServiceMessage.h:40
BatchComputeServiceJobRequestMessage(std::string answer_mailbox, std::shared_ptr< BatchJob > job, double payload)
Constructor.
Definition: BatchComputeServiceMessage.cpp:157
Top-level class for messages received/sent by a BatchComputeService.
Definition: BatchComputeServiceMessage.h:25
double payload
The message size in bytes.
Definition: SimulationMessage.h:39
std::string answer_mailbox
The mailbox to answer to.
Definition: BatchComputeServiceMessage.h:105
Abstraction of a job used for executing tasks in a Workflow.
Definition: WorkflowJob.h:34
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 job for execution.
Definition: BatchComputeServiceMessage.h:33