WRENCH  1.10
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
ServiceMessage.h
1 
11 #ifndef WRENCH_SERVICEMESSAGE_H
12 #define WRENCH_SERVICEMESSAGE_H
13 
14 
15 #include <wrench/simulation/SimulationMessage.h>
16 
17 namespace wrench {
18 
19 
20  /***********************/
22  /***********************/
23 
28  protected:
29  ServiceMessage(std::string name, double payload);
30 
31  };
32 
37  public:
38 // ~ServiceStopDaemonMessage(){};
39 
40  ServiceStopDaemonMessage(std::string ack_mailbox, double payload);
41 
43  std::string ack_mailbox;
44  };
45 
50  public:
52  };
53 
54 
60  public:
62  };
63 
64 
65 
66 
67  /***********************/
69  /***********************/
70 
71 };
72 
73 #endif //WRENCH_SERVICEMESSAGE_H
wrench::SimulationMessage::name
std::string name
The message name.
Definition: SimulationMessage.h:37
wrench::SimulationMessage
Top-level class to describe a message communicated by processes in the simulation.
Definition: SimulationMessage.h:27
wrench::ServiceStopDaemonMessage
A message sent to a Service to request for it to terminate.
Definition: ServiceMessage.h:36
wrench::ServiceDaemonStoppedMessage
A message sent by a Service to acknowledge a terminate request.
Definition: ServiceMessage.h:49
wrench::ServiceMessage
Top-level class for messages received/sent by a Service.
Definition: ServiceMessage.h:27
wrench::ServiceDaemonStoppedMessage::ServiceDaemonStoppedMessage
ServiceDaemonStoppedMessage(double payload)
Constructor.
Definition: ServiceMessage.cpp:38
wrench
Definition: Alarm.cpp:20
wrench::SimulationMessage::payload
double payload
The message size in bytes.
Definition: SimulationMessage.h:39
wrench::ServiceStopDaemonMessage::ack_mailbox
std::string ack_mailbox
the mailbox to which the "I stopped" ack should be sent
Definition: ServiceMessage.h:43
wrench::ServiceMessage::ServiceMessage
ServiceMessage(std::string name, double payload)
Constructor.
Definition: ServiceMessage.cpp:19
wrench::ServiceTTLExpiredMessage
A message sent to a Service to notify it that its time-to-live has expired (which will cause the serv...
Definition: ServiceMessage.h:59
wrench::ServiceTTLExpiredMessage::ServiceTTLExpiredMessage
ServiceTTLExpiredMessage(double payload)
Constructor.
Definition: ServiceMessage.cpp:48
wrench::ServiceStopDaemonMessage::ServiceStopDaemonMessage
ServiceStopDaemonMessage(std::string ack_mailbox, double payload)
Constructor.
Definition: ServiceMessage.cpp:29