wrench::NetworkProximityLookupAnswerMessage
-
class NetworkProximityLookupAnswerMessage : public wrench::NetworkProximityMessage
A message sent by a NetworkProximityService in answer to a network proximity lookup request.
Public Functions
-
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
-
NetworkProximityLookupAnswerMessage(std::pair<std::string, std::string> hosts, double proximity_value, double timestamp, double payload)