wrench::CloudComputeServiceSuspendVMRequestMessage

class CloudComputeServiceSuspendVMRequestMessage : public wrench::CloudComputeServiceMessage

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

Public Functions

CloudComputeServiceSuspendVMRequestMessage(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 – the 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 new VM host.