wrench::ComputeServiceResourceInformationRequestMessage

class wrench::ComputeServiceResourceInformationRequestMessage : public wrench::ComputeServiceMessage

A message sent to a ComputeService to request information on its compute resources.

Public Functions

ComputeServiceResourceInformationRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, const std::string &key, double payload)

Constructor.

Parameters
  • answer_mailbox – the mailbox to which the answer should be sent

  • key – the desired resource information (i.e., dictionary key) that’s needed)

  • payload – the message size in bytes

Throws

std::invalid_argument

Public Members

simgrid::s4u::Mailbox *answer_mailbox

The mailbox to which the answer should be sent.

const std::string &key

The key (i.e., resource information name) desired.