wrench::NetworkProximityLookupAnswerMessage Class Reference

A message sent by a NetworkProximityService in answer to a network proximity lookup request. More...

#include <NetworkProximityMessage.h>

Inheritance diagram for wrench::NetworkProximityLookupAnswerMessage:
wrench::NetworkProximityMessage wrench::ServiceMessage wrench::SimulationMessage

Public Member Functions

 NetworkProximityLookupAnswerMessage (std::pair< std::string, std::string > hosts, double proximityvalue, double payload)
 Constructor. More...
 
- Public Member Functions inherited from wrench::SimulationMessage
 SimulationMessage (std::string name, double payload)
 Constructor. More...
 
virtual std::string getName ()
 Retrieve the message name. More...
 

Public Attributes

std::pair< std::string, std::string > hosts
 The hosts whose proximity values were calculated.
 
double proximityValue
 The calculated proximity value.
 
- Public Attributes inherited from wrench::SimulationMessage
std::string name
 The message name.
 
double payload
 The message size in bytes.
 

Additional Inherited Members

- Protected Member Functions inherited from wrench::NetworkProximityMessage
 NetworkProximityMessage (std::string name, double payload)
 Constructor. More...
 
- Protected Member Functions inherited from wrench::ServiceMessage
 ServiceMessage (std::string name, double payload)
 Constructor. More...
 

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  proximityvalue,
double  payload 
)

Constructor.

Parameters
hoststhe pair of hosts that were looked up
proximityvaluethe proximity value between the pair of hosts
payloadthe message size in bytes

The documentation for this class was generated from the following files:
  • /Users/rafsilva/Documents/isi/workspace/wrench/wrench/src/wrench/services/network_proximity/NetworkProximityMessage.h
  • /Users/rafsilva/Documents/isi/workspace/wrench/wrench/src/wrench/services/network_proximity/NetworkProximityMessage.cpp