class NetworkProximityComputeAnswerMessage : public wrench::NetworkProximityMessage

A message received by a NetworkProximityService that updates its database of proximity values.

Public Functions

NetworkProximityComputeAnswerMessage(std::pair<std::string, std::string> hosts, double proximity_value, double payload)


  • hosts – a pair of hosts

  • proximity_value – the proximity value between the pair of hosts

  • payload – the message size in bytes

Public Members

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

The hosts whose proximity values were calculated.

double proximity_value

The computed proximity value.