wrench::ServiceStopDaemonMessage Class Reference

A message sent to a Service to request for it to terminate. More...

#include <ServiceMessage.h>

Inheritance diagram for wrench::ServiceStopDaemonMessage:
wrench::ServiceMessage wrench::SimulationMessage

Public Member Functions

 ServiceStopDaemonMessage (std::string ack_mailbox, 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::string ack_mailbox
 the mailbox to which the "I stopped" ack should be sent
 
- 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::ServiceMessage
 ServiceMessage (std::string name, double payload)
 Constructor. More...
 

Detailed Description

A message sent to a Service to request for it to terminate.

Constructor & Destructor Documentation

◆ ServiceStopDaemonMessage()

wrench::ServiceStopDaemonMessage::ServiceStopDaemonMessage ( std::string  ack_mailbox,
double  payload 
)

Constructor.

Parameters
ack_mailboxmailbox to which the DaemonStoppedMessage ack will be sent. No ack will be sent if ack_mailbox=""
payloadmessage size in bytes
Exceptions
std::invalid_arguments

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