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

A message sent to a ComputeService to asks if at least one host has some available resources right now. More...

#include <ComputeServiceMessage.h>

Inheritance diagram for wrench::ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage:
wrench::ComputeServiceMessage wrench::ServiceMessage wrench::SimulationMessage

Public Member Functions

 ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage (const std::string &answer_mailbox, unsigned long num_cores, double ram, 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 a reply should be sent.
 
unsigned long num_cores
 The number of cores desired.
 
double ram
 The RAM desired.
 
- 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::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 ComputeService to asks if at least one host has some available resources right now.

Constructor & Destructor Documentation

◆ ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage()

wrench::ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage::ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage ( const std::string &  answer_mailbox,
unsigned long  num_cores,
double  ram,
double  payload 
)

Constructor.

Parameters
answer_mailboxthe mailbox to which to send the answer
num_coresthe desired number of cores
ramthe desired RAM
payloadthe message size in bytes
Exceptions
std::invalid_argument

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