wrench::CoordinateLookupRequestMessage Class Reference

A message sent to a NetworkProximityService to request a coordinate lookup. More...

#include <NetworkProximityMessage.h>

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

Public Member Functions

 CoordinateLookupRequestMessage (std::string answer_mailbox, std::string requested_host, 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::string answer_mailbox
 The mailbox to which the answer should be sent back.
 
std::string requested_host
 The name of the host whose coordinates are being requested.
 
- 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 to a NetworkProximityService to request a coordinate lookup.

Constructor & Destructor Documentation

◆ CoordinateLookupRequestMessage()

wrench::CoordinateLookupRequestMessage::CoordinateLookupRequestMessage ( std::string  answer_mailbox,
std::string  requested_host,
double  payload 
)

Constructor.

Parameters
answer_mailboxthe mailbox to return the answer to
requested_hostthe naje of the host whose coordinates are being requested
payloadthe message size in bytes

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