wrench::BatchComputeServiceJobRequestMessage

class BatchComputeServiceJobRequestMessage : public wrench::BatchComputeServiceMessage

A message sent to a BatchComputeService to submit a batch job for execution.

Public Functions

BatchComputeServiceJobRequestMessage(S4U_CommPort *answer_commport, std::shared_ptr<BatchJob> job, double payload)

Constructor.

Parameters:
  • answer_commport – the commport to which the answer should be sent back

  • job – the BatchComputeService job

  • payload – the message size in bytes

Throws:

std::invalid_argument

Public Members

S4U_CommPort *answer_commport

The commport_name to answer to.

std::shared_ptr<BatchJob> job

The batch job.