wrench::ComputeServiceTerminateCompoundJobRequestMessage

class ComputeServiceTerminateCompoundJobRequestMessage : public wrench::ComputeServiceMessage

A message sent to a ComputeService to terminate a CompoundJob previously submitted for execution.

Public Functions

ComputeServiceTerminateCompoundJobRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, std::shared_ptr<CompoundJob>, double payload)

Constructor.

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

  • job – a compound job to terminate

  • 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 job to terminate.