WRENCH  1.10
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
ServiceMessagePayload.h
1 
11 #ifndef WRENCH_SERVICEMESSAGEPAYLOAD_H
12 #define WRENCH_SERVICEMESSAGEPAYLOAD_H
13 
14 #include <string>
15 
16 #define DECLARE_MESSAGEPAYLOAD_NAME(name) static const std::string name
17 
18 
19 #define SET_MESSAGEPAYLOAD_NAME(classname, name) const std::string classname::name=#name
20 
21 namespace wrench {
22 
23 
28 
29  public:
31  DECLARE_MESSAGEPAYLOAD_NAME(STOP_DAEMON_MESSAGE_PAYLOAD);
33  DECLARE_MESSAGEPAYLOAD_NAME(DAEMON_STOPPED_MESSAGE_PAYLOAD);
34 
35  };
36 
37 };
38 
39 
40 #endif //WRENCH_SERVICEMESSAGEPAYLOAD_H
wrench::ServiceMessagePayload::DAEMON_STOPPED_MESSAGE_PAYLOAD
static const std::string DAEMON_STOPPED_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to confirm it has terminated.
Definition: ServiceMessagePayload.h:33
wrench
Definition: Alarm.cpp:20
wrench::ServiceMessagePayload::STOP_DAEMON_MESSAGE_PAYLOAD
static const std::string STOP_DAEMON_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the daemon to terminate it.
Definition: ServiceMessagePayload.h:31
wrench::ServiceMessagePayload
Configurable message payloads for a Service.
Definition: ServiceMessagePayload.h:27