wrench::NextContactDaemonAnswerMessage

class NextContactDaemonAnswerMessage : public wrench::NetworkProximityMessage

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

Public Functions

NextContactDaemonAnswerMessage(std::string next_host_to_send, std::shared_ptr<NetworkProximityReceiverDaemon> next_daemon_to_send, S4U_CommPort *next_commport_to_send, double payload)

Constructor.

Parameters:
  • next_host_to_send – the next host to contact

  • next_daemon_to_send – the next daemon to contact

  • next_commport_to_send – the next commport to contact

  • payload – the message size in bytes

Public Members

S4U_CommPort *next_commport_to_send

The next commport_name for the network daemon to contact.

std::shared_ptr<NetworkProximityReceiverDaemon> next_daemon_to_send

The next NetworkProximitySenderDaemon for the NetworkProximitySenderDaemon to contact.

std::string next_host_to_send

The next host for the NetworkProximitySenderDaemon to contact.