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 
27  class ServiceMessage : public SimulationMessage {
28  protected:
29  ServiceMessage(std::string name, double payload);
30 
31  };
32 
36  class ServiceStopDaemonMessage : public ServiceMessage {
37  public:
38 // ~ServiceStopDaemonMessage(){};
39 
40  ServiceStopDaemonMessage(std::string ack_mailbox, double payload);
41 
43  std::string ack_mailbox;
44  };
45 
49  class ServiceDaemonStoppedMessage : public ServiceMessage {
50  public:
51  ServiceDaemonStoppedMessage(double payload);
52  };
53 
54 
59  class ServiceTTLExpiredMessage : public ServiceMessage {
60  public:
61  ServiceTTLExpiredMessage(double payload);
62  };
63 
64 
65 
66 
67  /***********************/
69  /***********************/
70 
71 };
72 
73 #endif //WRENCH_SERVICEMESSAGE_H
wrench
Definition: Alarm.cpp:20