wrench::ComputeServiceSubmitCompoundJobRequestMessage

class ComputeServiceSubmitCompoundJobRequestMessage : public wrench::ComputeServiceMessage

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

The commport_name to which the answer message should be sent

The submitted job

Service specific arguments

A message sent by a ComputeService in answer to a StandardJob submission request

The standard job that was submitted

The compute service to which the job was submitted

Whether to job submission was successful

The cause of the failure, or nullptr on success

A message sent by a ComputeService when a StandardJob has completed execution

The job that has completed

The compute service on which the job has completed

A message sent by a ComputeService when a StandardJob has failed to execute

The job that has failed

The compute service on which the job has failed

The cause of the failure

A message sent to a ComputeService to terminate a StandardJob previously submitted for execution

The commport_name to which the answer message should be sent

The job to terminate

A message sent by a ComputeService in answer to a StandardJob termination request

The standard job to terminate

The compute service to which the job had been submitted

Whether to job termination was successful

The cause of the failure, or nullptr on success

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, sg_size_t 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

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.