wrench::CloudComputeServiceShutdownVMAnswerMessage

class CloudComputeServiceShutdownVMAnswerMessage : public wrench::CloudComputeServiceMessage

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

Public Functions

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

Constructor.

Parameters
  • success – whether the VM shutdown succeeded

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

  • payload – the message size in bytes

Public Members

std::shared_ptr<FailureCause> failure_cause

The cause of the failure, or nullptr on success.

bool success

Whether the VM shutdown was successful or not.