wrench::BatchComputeServiceJobRequestMessage

class BatchComputeServiceJobRequestMessage : public wrench::BatchComputeServiceMessage

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

Public Functions

BatchComputeServiceJobRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, std::shared_ptr<BatchJob> job, double payload)

Constructor.

Parameters
  • answer_mailbox – the mailbox to which the answer should be sent back

  • job – the BatchComputeService job

  • payload – the message size in bytes

Throws

std::invalid_argument

Public Members

simgrid::s4u::Mailbox *answer_mailbox

The mailbox to answer to.

std::shared_ptr<BatchJob> job

The batch job.