wrench::ComputeServiceSubmitCompoundJobRequestMessage

class wrench::ComputeServiceSubmitCompoundJobRequestMessage : public wrench::ComputeServiceMessage

A message sent to a ComputeService to submit a CompoundJob for execution.

Public Functions

ComputeServiceSubmitCompoundJobRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, std::shared_ptr<CompoundJob> job, std::map<std::string, std::string> service_specific_args, double payload)

Constructor.

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

  • job – a compound job submitted for execution

  • service_specific_args – a map of extra arguments (each specified by a name and value, both strings) required by some services

  • payload – message size in bytes

Throws

std::invalid_arguments

Public Members

simgrid::s4u::Mailbox *answer_mailbox

The mailbox to which the answer message should be sent.

std::shared_ptr<CompoundJob> job

The submitted job.

std::map<std::string, std::string> service_specific_args

Service specific arguments.