wrench::CloudComputeServiceStartVMRequestMessage

class CloudComputeServiceStartVMRequestMessage : public wrench::CloudComputeServiceMessage

A message sent to a CloudComputeService to request a VM start.

Public Functions

CloudComputeServiceStartVMRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, const std::string &vm_name, double payload)

Constructor.

Parameters:
  • answer_mailbox – the mailbox to which to send the answer

  • vm_name – the name of the VM host

  • payload – githe message size in bytes

Throws:

std::invalid_argument

Public Members

simgrid::s4u::Mailbox *answer_mailbox

The mailbox to which the answer message should be sent.

std::string vm_name

The name of the VM to start.