wrench::NetworkProximityLookupRequestMessage
-
class NetworkProximityLookupRequestMessage : public wrench::NetworkProximityMessage
A message sent to a NetworkProximityService to request a network proximity lookup.
Public Functions
-
NetworkProximityLookupRequestMessage(S4U_CommPort *answer_commport, std::pair<std::string, std::string> hosts, sg_size_t payload)
Constructor.
- Parameters:
answer_commport – the commport to which the answer message should be sent
hosts – the pair of hosts to look up
payload – the message size in bytes
Public Members
-
S4U_CommPort *answer_commport
The commport_name to which the answer message should be sent.
-
std::pair<std::string, std::string> hosts
The hosts between which to calculate a proximity value.
-
NetworkProximityLookupRequestMessage(S4U_CommPort *answer_commport, std::pair<std::string, std::string> hosts, sg_size_t payload)