A message sent by a NetworkProximityService in answer to a network proximity lookup request. More...
#include <NetworkProximityMessage.h>
Public Member Functions | |
NetworkProximityLookupAnswerMessage (std::pair< std::string, std::string > hosts, double proximity_value, double timestamp, double payload) | |
Constructor. More... | |
Public Attributes | |
std::pair< std::string, std::string > | hosts |
The hosts whose proximity values were calculated. | |
double | proximity_value |
The calculated proximity value. | |
double | timestamp |
The timestamp of the oldest measurement data used to calculate the proximity value. | |
Additional Inherited Members |
Detailed Description
A message sent by a NetworkProximityService in answer to a network proximity lookup request.
Constructor & Destructor Documentation
◆ NetworkProximityLookupAnswerMessage()
wrench::NetworkProximityLookupAnswerMessage::NetworkProximityLookupAnswerMessage | ( | std::pair< std::string, std::string > | hosts, |
double | proximity_value, | ||
double | timestamp, | ||
double | payload | ||
) |
Constructor.
- Parameters
-
hosts the pair of hosts that were looked up proximity_value the proximity value between the pair of hosts timestamp the timestamp of the proximity value determination payload the message size in bytes
The documentation for this class was generated from the following files:
- NetworkProximityMessage.h
- NetworkProximityMessage.cpp