wrench::CloudComputeServiceSuspendVMRequestMessage

class CloudComputeServiceSuspendVMRequestMessage : public wrench::CloudComputeServiceMessage

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

Public Functions

CloudComputeServiceSuspendVMRequestMessage(S4U_CommPort *answer_commport, const std::string &vm_name, double payload)

Constructor.

Parameters:
  • answer_commport – the commport 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

S4U_CommPort *answer_commport

The commport_name to which the answer message should be sent.

std::string vm_name

The name of the new VM host.