WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | Public Attributes | List of all members
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 proximity_value, double timestamp, double payload)
 Constructor. More...
 
- Public Member Functions inherited from wrench::SimulationMessage
 SimulationMessage (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 proximity_value
 The calculated proximity value.
 
double timestamp
 The timestamp of the oldest measurement data used to calculate the proximity value.
 
- Public Attributes inherited from wrench::SimulationMessage
double payload
 The message name. More...
 

Additional Inherited Members

- Protected Member Functions inherited from wrench::NetworkProximityMessage
 NetworkProximityMessage (double payload)
 Constructor. More...
 
- Protected Member Functions inherited from wrench::ServiceMessage
 ServiceMessage (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  proximity_value,
double  timestamp,
double  payload 
)

Constructor.

Parameters
hoststhe pair of hosts that were looked up
proximity_valuethe proximity value between the pair of hosts
timestampthe timestamp of the proximity value determination
payloadthe message size in bytes

The documentation for this class was generated from the following files: