wrench::CloudComputeServiceDestroyVMAnswerMessage

class CloudComputeServiceDestroyVMAnswerMessage : public wrench::CloudComputeServiceMessage

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

Public Functions

CloudComputeServiceDestroyVMAnswerMessage(bool success, std::shared_ptr<FailureCause> failure_cause, double payload)

Constructor.

Parameters
  • success – whether the VM was destroyed successfully

  • failure_cause – a failure cause (or nullptr if success)

  • payload – the message size in bytes

Public Members

std::shared_ptr<FailureCause> failure_cause

The failure cause (or nullptr if success)

bool success

Whether the VM suspend was successful or not.