wrench::ComputeServiceTerminateCompoundJobAnswerMessage

class ComputeServiceTerminateCompoundJobAnswerMessage : public wrench::ComputeServiceMessage

A message sent by a ComputeService in answer to a CompoundJob termination request.

Public Functions

ComputeServiceTerminateCompoundJobAnswerMessage(std::shared_ptr<CompoundJob>, std::shared_ptr<ComputeService>, bool success, std::shared_ptr<FailureCause> failure_cause, sg_size_t payload)

Constructor.

Parameters:
  • job – a compound job whose termination was requested

  • compute_service – the compute service that was executing the standard job

  • success – true on success, false otherwise

  • failure_cause – cause of the failure (nullptr if success == true)

  • payload – message size in bytes

Public Members

std::shared_ptr<ComputeService> compute_service

The compute service to which the job had been submitted.

std::shared_ptr<FailureCause> failure_cause

The cause of the failure, or nullptr on success.

std::shared_ptr<CompoundJob> job

The standard job to terminate.

bool success

Whether to job termination was successful.