wrench::VirtualizedClusterComputeServiceMigrateVMAnswerMessage

class VirtualizedClusterComputeServiceMigrateVMAnswerMessage : public wrench::VirtualizedClusterComputeServiceMessage

A message sent by a VirtualizedClusterComputeService in answer to a VM migration request.

Public Functions

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

Constructor.

Parameters:
  • success – whether the VM migration was successful or not

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

  • payload – the message size in bytes

Public Members

std::shared_ptr<FailureCause> failure_cause

A failure cause (or nullptr if success)

bool success

Whether the VM migration was successful or not.