WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | Public Attributes | List of all members
wrench::VirtualizedClusterComputeServiceMigrateVMAnswerMessage Class Reference

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

#include <VirtualizedClusterComputeServiceMessage.h>

Inheritance diagram for wrench::VirtualizedClusterComputeServiceMigrateVMAnswerMessage:
wrench::VirtualizedClusterComputeServiceMessage wrench::ComputeServiceMessage wrench::ServiceMessage wrench::SimulationMessage

Public Member Functions

 VirtualizedClusterComputeServiceMigrateVMAnswerMessage (bool success, std::shared_ptr< FailureCause > failure_cause, double payload)
 Constructor. More...
 
- Public Member Functions inherited from wrench::SimulationMessage
 SimulationMessage (double payload)
 Constructor. More...
 
virtual std::string getName ()
 Retrieve the message name. More...
 

Public Attributes

std::shared_ptr< FailureCausefailure_cause
 A failure cause (or nullptr if success)
 
bool success
 Whether the VM migration was successful or not.
 
- Public Attributes inherited from wrench::SimulationMessage
double payload
 The message name. More...
 

Additional Inherited Members

- Protected Member Functions inherited from wrench::VirtualizedClusterComputeServiceMessage
 VirtualizedClusterComputeServiceMessage (const std::string &name, double payload)
 Constructor. More...
 
- Protected Member Functions inherited from wrench::ComputeServiceMessage
 ComputeServiceMessage (double payload)
 Constructor. More...
 
- Protected Member Functions inherited from wrench::ServiceMessage
 ServiceMessage (double payload)
 Constructor. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ VirtualizedClusterComputeServiceMigrateVMAnswerMessage()

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

Constructor.

Parameters
successwhether the VM migration was successful or not
failure_causea failure cause (or nullptr if success)
payloadthe message size in bytes

The documentation for this class was generated from the following files: