wrench::ComputeServiceSubmitCompoundJobRequestMessage

class ComputeServiceSubmitCompoundJobRequestMessage : public wrench::ComputeServiceMessage

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

Public Functions

ComputeServiceSubmitCompoundJobRequestMessage(S4U_CommPort *answer_commport, std::shared_ptr<CompoundJob> job, std::map<std::string, std::string> service_specific_args, double payload)

Constructor.

Parameters:
  • answer_commport – commport 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

S4U_CommPort *answer_commport

The commport_name 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.