WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | Public Attributes | List of all members
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 (simgrid::s4u::Mailbox *answer_mailbox, std::pair< std::string, std::string > hosts, 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

simgrid::s4u::Mailbox * 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
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 to a NetworkProximityService to request a network proximity lookup.

Constructor & Destructor Documentation

◆ NetworkProximityLookupRequestMessage()

wrench::NetworkProximityLookupRequestMessage::NetworkProximityLookupRequestMessage ( simgrid::s4u::Mailbox *  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: