wrench::ComputeServiceResourceInformationRequestMessage

class ComputeServiceResourceInformationRequestMessage : public wrench::ComputeServiceMessage

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

Public Functions

ComputeServiceResourceInformationRequestMessage(S4U_CommPort *answer_commport, const std::string &key, double payload)

Constructor.

Parameters:
  • answer_commport – the commport 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

S4U_CommPort *answer_commport

The commport_name to which the answer should be sent.

std::string key

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