wrench::NextContactDaemonRequestMessage Class Reference

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

#include <NetworkProximityMessage.h>

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

Public Member Functions

 NextContactDaemonRequestMessage (std::shared_ptr< NetworkProximityDaemon > daemon, 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< NetworkProximityDaemondaemon
 The NetworkProximityDaemon daemon to return the answer to.
 
- 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 by a NetworkProximityDaemon to ask which other NetworkProximityDaemons it should do measurements with next.

Constructor & Destructor Documentation

◆ NextContactDaemonRequestMessage()

wrench::NextContactDaemonRequestMessage::NextContactDaemonRequestMessage ( std::shared_ptr< NetworkProximityDaemon daemon,
double  payload 
)

Constructor.

Parameters
daemonthe NetworkProximityDaemon to return the request to
payloadthe message size in bytes

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