WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | Public Attributes | List of all members
wrench::NextContactDaemonAnswerMessage Class Reference

A message sent by a NetworkProximityService to a NetworkProximityDaemon to tell it which other NetworkProximityDaemons it should do measurements with next. More...

#include <NetworkProximityMessage.h>

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

Public Member Functions

 NextContactDaemonAnswerMessage (std::string next_host_to_send, std::shared_ptr< NetworkProximityDaemon > next_daemon_to_send, simgrid::s4u::Mailbox *next_mailbox_to_send, 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::shared_ptr< NetworkProximityDaemonnext_daemon_to_send
 The next NetworkProximityDaemon for the NetworkProximityDaemon to contact.
 
std::string next_host_to_send
 The next host for the NetworkProximityDaemon to contact.
 
simgrid::s4u::Mailbox * next_mailbox_to_send
 The next mailbox for the network daemon to contact.
 
- 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 to a NetworkProximityDaemon to tell it which other NetworkProximityDaemons it should do measurements with next.

Constructor & Destructor Documentation

◆ NextContactDaemonAnswerMessage()

wrench::NextContactDaemonAnswerMessage::NextContactDaemonAnswerMessage ( std::string  next_host_to_send,
std::shared_ptr< NetworkProximityDaemon next_daemon_to_send,
simgrid::s4u::Mailbox *  next_mailbox_to_send,
double  payload 
)

Constructor.

Parameters
next_host_to_sendthe next host to contact
next_daemon_to_sendthe next daemon to contact
next_mailbox_to_sendthe next mailbox to contact
payloadthe message size in bytes

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