WRENCH
1.10
Cyberinfrastructure Simulation Workbench
|
Overview | Installation | Getting Started | WRENCH 101 | WRENCH 102 |
A message sent by a NetworkProximityService in answer to a coordinate lookup request. More...
#include <NetworkProximityMessage.h>
Public Member Functions | |
CoordinateLookupAnswerMessage (std::string requested_host, bool success, std::pair< double, double > xy_coordinate, double timestamp, double payload) | |
Constructor. More... | |
Public Attributes | |
std::string | requested_host |
The name of the host whose coordinates were requested | |
bool | success |
Whether the lookup was successful or not. | |
double | timestamp |
The timestamp of the oldest measurement data used to calculate the proximity value. | |
std::pair< double, double > | xy_coordinate |
The current (x,y) coordinates of the requested host. | |
Additional Inherited Members |
A message sent by a NetworkProximityService in answer to a coordinate lookup request.
wrench::CoordinateLookupAnswerMessage::CoordinateLookupAnswerMessage | ( | std::string | requested_host, |
bool | success, | ||
std::pair< double, double > | xy_coordinate, | ||
double | timestamp, | ||
double | payload | ||
) |
Constructor.
requested_host | the name of the host whose coordinates are being requested |
success | whether coordinates where found or not |
xy_coordinate | the (x,y) coordinate of the host |
timestamp | the timestamp for the coordinates |
payload | the message size in bytes |