WRENCH  1.11
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 (simgrid::s4u::Mailbox *answer_mailbox, unsigned long num_cores, double ram, 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

simgrid::s4u::Mailbox * 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
double payload
 The message name. More...
 

Additional Inherited Members

- 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 to a ComputeService to asks if at least one host has some available resources right now.

Constructor & Destructor Documentation

◆ ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage()

wrench::ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage::ComputeServiceIsThereAtLeastOneHostWithAvailableResourcesRequestMessage ( simgrid::s4u::Mailbox *  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: