WRENCH  1.11
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 #include "wrench/services/compute/ComputeService.h"
17 
18 namespace wrench {
19 
20  /***********************/
22  /***********************/
23 
27  class ServiceMessage : public SimulationMessage {
28  protected:
29  ServiceMessage( double payload);
30 
31  };
32 
36  class ServiceStopDaemonMessage : public ServiceMessage {
37  public:
38 // ~ServiceStopDaemonMessage(){};
39 
40  ServiceStopDaemonMessage(simgrid::s4u::Mailbox *ack_mailbox, bool send_failure_notifications, ComputeService::TerminationCause termination_cause, double payload);
41 
43  simgrid::s4u::Mailbox *ack_mailbox;
45  bool send_failure_notifications;
47  ComputeService::TerminationCause termination_cause;
48  };
49 
53  class ServiceDaemonStoppedMessage : public ServiceMessage {
54  public:
55  ServiceDaemonStoppedMessage(double payload);
56  };
57 
58 
63  class ServiceTTLExpiredMessage : public ServiceMessage {
64  public:
65  ServiceTTLExpiredMessage(double payload);
66  };
67 
68 
69 
70 
71  /***********************/
73  /***********************/
74 
75 };
76 
77 #endif //WRENCH_SERVICEMESSAGE_H
wrench
Definition: Action.cpp:28