wrench::NetworkProximityLookupRequestMessage

class wrench::NetworkProximityLookupRequestMessage : public wrench::NetworkProximityMessage

A message sent to a NetworkProximityService to request a network proximity lookup.

Public Functions

NetworkProximityLookupRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, std::pair<std::string, std::string> hosts, double payload)

Constructor.

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

  • hosts – the pair of hosts to look up

  • payload – the message size in bytes

Public Members

simgrid::s4u::Mailbox *answer_mailbox

The mailbox to which the answer message should be sent.

std::pair<std::string, std::string> hosts

The hosts between which to calculate a proximity value.