wrench::VirtualizedClusterServiceMigrateVMRequestMessage Class Reference

A message sent to a VirtualizedClusterService to request a VM migration. More...

#include <VirtualizedClusterServiceMessage.h>

Inheritance diagram for wrench::VirtualizedClusterServiceMigrateVMRequestMessage:
wrench::VirtualizedClusterServiceMessage wrench::ComputeServiceMessage wrench::ServiceMessage wrench::SimulationMessage

Public Member Functions

 VirtualizedClusterServiceMigrateVMRequestMessage (const std::string &answer_mailbox, const std::string &vm_hostname, const std::string &dest_pm_hostname, 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 dest_pm_hostname
 The name of the host to which the VM should be migrated.
 
std::string vm_hostname
 The name of the host on which the VM is currently executed.
 
- 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::VirtualizedClusterServiceMessage
 VirtualizedClusterServiceMessage (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 VirtualizedClusterService to request a VM migration.

Constructor & Destructor Documentation

◆ VirtualizedClusterServiceMigrateVMRequestMessage()

wrench::VirtualizedClusterServiceMigrateVMRequestMessage::VirtualizedClusterServiceMigrateVMRequestMessage ( const std::string &  answer_mailbox,
const std::string &  vm_hostname,
const std::string &  dest_pm_hostname,
double  payload 
)

Constructor.

Parameters
answer_mailboxthe mailbox to which to send the answer
vm_hostnamethe name of the new VM host
dest_pm_hostnamethe name of the destination physical machine host
payloadthe message size in bytes
Exceptions
std::invalid_argument

The documentation for this class was generated from the following files:
  • /Users/rafsilva/Documents/isi/workspace/wrench/wrench/src/wrench/services/compute/virtualized_cluster/VirtualizedClusterServiceMessage.h
  • /Users/rafsilva/Documents/isi/workspace/wrench/wrench/src/wrench/services/compute/virtualized_cluster/VirtualizedClusterServiceMessage.cpp