wrench::CloudComputeServiceSuspendVMAnswerMessage

class CloudComputeServiceSuspendVMAnswerMessage : public wrench::CloudComputeServiceMessage

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

Public Functions

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

Constructor.

Parameters
  • success – whether the VM suspend succeeded

  • 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.