wrench::NetworkProximityLookupRequestMessage Class Reference

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

#include <NetworkProximityMessage.h>

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

Public Member Functions

 NetworkProximityLookupRequestMessage (std::string answer_mailbox, std::pair< std::string, std::string > hosts, 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 message should be sent.
 
std::pair< std::string, std::string > hosts
 The hosts between which to calculate a 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 to a NetworkProximityService to request a network proximity lookup.

Constructor & Destructor Documentation

◆ NetworkProximityLookupRequestMessage()

wrench::NetworkProximityLookupRequestMessage::NetworkProximityLookupRequestMessage ( std::string  answer_mailbox,
std::pair< std::string, std::string >  hosts,
double  payload 
)

Constructor.

Parameters
answer_mailboxthe mailbox to which the answer message should be sent
hoststhe pair of hosts to look up
payloadthe message size in bytes

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