wrench::CloudComputeServiceStartVMRequestMessage Class Reference

A message sent to a CloudComputeService to request a VM start. More...

#include <CloudComputeServiceMessage.h>

Inheritance diagram for wrench::CloudComputeServiceStartVMRequestMessage:
wrench::CloudComputeServiceMessage wrench::ComputeServiceMessage wrench::ServiceMessage wrench::SimulationMessage

Public Member Functions

 CloudComputeServiceStartVMRequestMessage (const std::string &answer_mailbox, const std::string &vm_name, const std::string &pm_name, double payload)
 Constructor. More...
 
- Public Member Functions inherited from wrench::SimulationMessage
 SimulationMessage (std::string name, double payload)
 Constructor. More...
 
virtual std::string getName ()
 Retrieve the message name. More...
 

Public Attributes

std::string answer_mailbox
 The mailbox to which the answer message should be sent.
 
std::string pm_name
 The name of the physical host on which to start the VM (or "" if up to the service")
 
std::string vm_name
 The name of the VM to start.
 
- Public Attributes inherited from wrench::SimulationMessage
std::string name
 The message name.
 
double payload
 The message size in bytes.
 

Additional Inherited Members

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

Detailed Description

A message sent to a CloudComputeService to request a VM start.

Constructor & Destructor Documentation

◆ CloudComputeServiceStartVMRequestMessage()

wrench::CloudComputeServiceStartVMRequestMessage::CloudComputeServiceStartVMRequestMessage ( const std::string &  answer_mailbox,
const std::string &  vm_name,
const std::string &  pm_name,
double  payload 
)

Constructor.

Parameters
answer_mailboxthe mailbox to which to send the answer
vm_namethe name of the VM host
pm_namethe name of the physical host on which to start the VM (or "" if up to the service)
payloadthe message size in bytes
Exceptions
std::invalid_argument

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