A message sent by a CloudComputeService in answer to a VM creation request. More...
#include <CloudComputeServiceMessage.h>
Public Member Functions | |
CloudComputeServiceCreateVMAnswerMessage (bool success, std::string &vm_name, std::shared_ptr< FailureCause > failure_cause, double payload) | |
Constructor. More... | |
Public Attributes | |
std::shared_ptr< FailureCause > | failure_cause |
The cause of the failure, or nullptr on success. | |
bool | success |
Whether the VM creation was successful or not. | |
std::string | vm_name |
The VM name if success. | |
Additional Inherited Members |
Detailed Description
A message sent by a CloudComputeService in answer to a VM creation request.
Constructor & Destructor Documentation
◆ CloudComputeServiceCreateVMAnswerMessage()
wrench::CloudComputeServiceCreateVMAnswerMessage::CloudComputeServiceCreateVMAnswerMessage | ( | bool | success, |
std::string & | vm_name, | ||
std::shared_ptr< FailureCause > | failure_cause, | ||
double | payload | ||
) |
Constructor.
- Parameters
-
success whether the VM creation was successful or not vm_name the name of the created VM (if success) failure_cause the cause of the failure (or nullptr if success) payload the message size in bytes
The documentation for this class was generated from the following files:
- CloudComputeServiceMessage.h
- CloudComputeServiceMessage.cpp