A message received by a NetworkProximityService that updates its database of proximity values. More...
#include <NetworkProximityMessage.h>
Public Member Functions | |
NetworkProximityComputeAnswerMessage (std::pair< std::string, std::string > hosts, double proximity_value, double payload) | |
Constructor. More... | |
Public Attributes | |
std::pair< std::string, std::string > | hosts |
The hosts whose proximity values were calculated. | |
double | proximity_value |
The computed proximity value. | |
Additional Inherited Members |
Detailed Description
A message received by a NetworkProximityService that updates its database of proximity values.
Constructor & Destructor Documentation
◆ NetworkProximityComputeAnswerMessage()
wrench::NetworkProximityComputeAnswerMessage::NetworkProximityComputeAnswerMessage | ( | std::pair< std::string, std::string > | hosts, |
double | proximity_value, | ||
double | payload | ||
) |
Constructor.
- Parameters
-
hosts a pair of hosts proximity_value the proximity value between the pair of hosts payload the message size in bytes
The documentation for this class was generated from the following files:
- NetworkProximityMessage.h
- NetworkProximityMessage.cpp