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, std::string next_mailbox_to_send, 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::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.
 
std::string next_mailbox_to_send
 The next mailbox for the network daemon to contact.
 
- 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 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,
std::string  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: