ComputeServiceMessagePayload.h
1 
11 #ifndef WRENCH_COMPUTESERVICEMESSAGEPAYLOAD_H
12 #define WRENCH_COMPUTESERVICEMESSAGEPAYLOAD_H
13 
14 #include "wrench/services/ServiceMessagePayload.h"
15 
16 namespace wrench {
17 
22  public:
24  DECLARE_MESSAGEPAYLOAD_NAME(JOB_TYPE_NOT_SUPPORTED_MESSAGE_PAYLOAD);
26  DECLARE_MESSAGEPAYLOAD_NAME(SUBMIT_STANDARD_JOB_REQUEST_MESSAGE_PAYLOAD);
28  DECLARE_MESSAGEPAYLOAD_NAME(SUBMIT_STANDARD_JOB_ANSWER_MESSAGE_PAYLOAD);
30  DECLARE_MESSAGEPAYLOAD_NAME(STANDARD_JOB_DONE_MESSAGE_PAYLOAD);
32  DECLARE_MESSAGEPAYLOAD_NAME(STANDARD_JOB_FAILED_MESSAGE_PAYLOAD);
34  DECLARE_MESSAGEPAYLOAD_NAME(TERMINATE_STANDARD_JOB_REQUEST_MESSAGE_PAYLOAD);
36  DECLARE_MESSAGEPAYLOAD_NAME(TERMINATE_STANDARD_JOB_ANSWER_MESSAGE_PAYLOAD);
38  DECLARE_MESSAGEPAYLOAD_NAME(SUBMIT_PILOT_JOB_REQUEST_MESSAGE_PAYLOAD);
40  DECLARE_MESSAGEPAYLOAD_NAME(SUBMIT_PILOT_JOB_ANSWER_MESSAGE_PAYLOAD);
42  DECLARE_MESSAGEPAYLOAD_NAME(PILOT_JOB_STARTED_MESSAGE_PAYLOAD);
44  DECLARE_MESSAGEPAYLOAD_NAME(PILOT_JOB_EXPIRED_MESSAGE_PAYLOAD);
46  DECLARE_MESSAGEPAYLOAD_NAME(PILOT_JOB_FAILED_MESSAGE_PAYLOAD);
48  DECLARE_MESSAGEPAYLOAD_NAME(TTL_REQUEST_MESSAGE_PAYLOAD);
50  DECLARE_MESSAGEPAYLOAD_NAME(TTL_ANSWER_MESSAGE_PAYLOAD);
52  DECLARE_MESSAGEPAYLOAD_NAME(TERMINATE_PILOT_JOB_REQUEST_MESSAGE_PAYLOAD);
54  DECLARE_MESSAGEPAYLOAD_NAME(TERMINATE_PILOT_JOB_ANSWER_MESSAGE_PAYLOAD);
56  DECLARE_MESSAGEPAYLOAD_NAME(RESOURCE_DESCRIPTION_REQUEST_MESSAGE_PAYLOAD);
58  DECLARE_MESSAGEPAYLOAD_NAME(RESOURCE_DESCRIPTION_ANSWER_MESSAGE_PAYLOAD);
59  };
60 };
61 
62 #endif //WRENCH_COMPUTESERVICEMESSAGEPAYLOAD_H
static const std::string PILOT_JOB_EXPIRED_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to state that a pilot job has expired.
Definition: ComputeServiceMessagePayload.h:44
static const std::string TERMINATE_PILOT_JOB_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to acknowledge a pilot job termination.
Definition: ComputeServiceMessagePayload.h:54
static const std::string TTL_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to state its time-to-live.
Definition: ComputeServiceMessagePayload.h:50
static const std::string SUBMIT_STANDARD_JOB_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the daemon to submit a standard job.
Definition: ComputeServiceMessagePayload.h:26
static const std::string TERMINATE_STANDARD_JOB_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to acknowledge a standard job terminati...
Definition: ComputeServiceMessagePayload.h:36
static const std::string RESOURCE_DESCRIPTION_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the daemon to ask it for information on its resour...
Definition: ComputeServiceMessagePayload.h:56
static const std::string TERMINATE_PILOT_JOB_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the daemon to terminate a pilot job.
Definition: ComputeServiceMessagePayload.h:52
static const std::string STANDARD_JOB_DONE_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to state that it has completed a standa...
Definition: ComputeServiceMessagePayload.h:30
static const std::string STANDARD_JOB_FAILED_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to state that a running standard job ha...
Definition: ComputeServiceMessagePayload.h:32
Definition: Alarm.cpp:20
static const std::string TERMINATE_STANDARD_JOB_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the daemon to terminate a standard job.
Definition: ComputeServiceMessagePayload.h:34
static const std::string SUBMIT_PILOT_JOB_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent from the daemon to acknowledge a pilot job submission...
Definition: ComputeServiceMessagePayload.h:40
Configurable message payloads for a ComputeService.
Definition: ComputeServiceMessagePayload.h:21
static const std::string RESOURCE_DESCRIPTION_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to state information on its resources.
Definition: ComputeServiceMessagePayload.h:58
static const std::string PILOT_JOB_STARTED_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to state that a pilot job has started.
Definition: ComputeServiceMessagePayload.h:42
Configurable message payloads for a Service.
Definition: ServiceMessagePayload.h:27
static const std::string SUBMIT_STANDARD_JOB_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to acknowledge a standard job submissio...
Definition: ComputeServiceMessagePayload.h:28
static const std::string TTL_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the daemon to ask it for its time-to-live.
Definition: ComputeServiceMessagePayload.h:48
static const std::string JOB_TYPE_NOT_SUPPORTED_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to state that it does not support the t...
Definition: ComputeServiceMessagePayload.h:24
static const std::string SUBMIT_PILOT_JOB_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the daemon to submit a pilot job.
Definition: ComputeServiceMessagePayload.h:38
static const std::string PILOT_JOB_FAILED_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to state that a pilot job has failed.
Definition: ComputeServiceMessagePayload.h:46