wrench::CloudComputeServiceStartVMAnswerMessage

class CloudComputeServiceStartVMAnswerMessage : public wrench::CloudComputeServiceMessage

A message sent by a CloudComputeService in answer to a VM start request.

Public Functions

CloudComputeServiceStartVMAnswerMessage(bool success, std::shared_ptr<BareMetalComputeService> cs, std::shared_ptr<FailureCause> failure_cause, double payload)

Constructor.

Parameters
  • success – whether the VM start succeeded

  • cs – the BareMetalComputeService exposed by the started VM (or nullptr if not success)

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

  • payload – the message size in bytes

Public Members

std::shared_ptr<BareMetalComputeService> cs

The VM’s compute service.

std::shared_ptr<FailureCause> failure_cause

The failure cause (or nullptr if success)

bool success

Whether the VM start was successful or not.