WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
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);
25 
27  DECLARE_MESSAGEPAYLOAD_NAME(SUBMIT_STANDARD_JOB_REQUEST_MESSAGE_PAYLOAD);
29  DECLARE_MESSAGEPAYLOAD_NAME(SUBMIT_STANDARD_JOB_ANSWER_MESSAGE_PAYLOAD);
31  DECLARE_MESSAGEPAYLOAD_NAME(STANDARD_JOB_DONE_MESSAGE_PAYLOAD);
33  DECLARE_MESSAGEPAYLOAD_NAME(STANDARD_JOB_FAILED_MESSAGE_PAYLOAD);
35  DECLARE_MESSAGEPAYLOAD_NAME(TERMINATE_STANDARD_JOB_REQUEST_MESSAGE_PAYLOAD);
37  DECLARE_MESSAGEPAYLOAD_NAME(TERMINATE_STANDARD_JOB_ANSWER_MESSAGE_PAYLOAD);
41  DECLARE_MESSAGEPAYLOAD_NAME(SUBMIT_COMPOUND_JOB_REQUEST_MESSAGE_PAYLOAD);
43  DECLARE_MESSAGEPAYLOAD_NAME(SUBMIT_COMPOUND_JOB_ANSWER_MESSAGE_PAYLOAD);
45  DECLARE_MESSAGEPAYLOAD_NAME(COMPOUND_JOB_DONE_MESSAGE_PAYLOAD);
47  DECLARE_MESSAGEPAYLOAD_NAME(COMPOUND_JOB_FAILED_MESSAGE_PAYLOAD);
49  DECLARE_MESSAGEPAYLOAD_NAME(TERMINATE_COMPOUND_JOB_REQUEST_MESSAGE_PAYLOAD);
51  DECLARE_MESSAGEPAYLOAD_NAME(TERMINATE_COMPOUND_JOB_ANSWER_MESSAGE_PAYLOAD);
52 
54  DECLARE_MESSAGEPAYLOAD_NAME(SUBMIT_PILOT_JOB_REQUEST_MESSAGE_PAYLOAD);
56  DECLARE_MESSAGEPAYLOAD_NAME(SUBMIT_PILOT_JOB_ANSWER_MESSAGE_PAYLOAD);
58  DECLARE_MESSAGEPAYLOAD_NAME(PILOT_JOB_STARTED_MESSAGE_PAYLOAD);
60  DECLARE_MESSAGEPAYLOAD_NAME(PILOT_JOB_EXPIRED_MESSAGE_PAYLOAD);
62  DECLARE_MESSAGEPAYLOAD_NAME(PILOT_JOB_FAILED_MESSAGE_PAYLOAD);
64  DECLARE_MESSAGEPAYLOAD_NAME(TERMINATE_PILOT_JOB_REQUEST_MESSAGE_PAYLOAD);
66  DECLARE_MESSAGEPAYLOAD_NAME(TERMINATE_PILOT_JOB_ANSWER_MESSAGE_PAYLOAD);
70  DECLARE_MESSAGEPAYLOAD_NAME(TTL_REQUEST_MESSAGE_PAYLOAD);
72  DECLARE_MESSAGEPAYLOAD_NAME(TTL_ANSWER_MESSAGE_PAYLOAD);
74  DECLARE_MESSAGEPAYLOAD_NAME(RESOURCE_DESCRIPTION_REQUEST_MESSAGE_PAYLOAD);
76  DECLARE_MESSAGEPAYLOAD_NAME(RESOURCE_DESCRIPTION_ANSWER_MESSAGE_PAYLOAD);
81  };
82 };
83 
84 #endif //WRENCH_COMPUTESERVICEMESSAGEPAYLOAD_H
wrench::ComputeServiceMessagePayload::PILOT_JOB_EXPIRED_MESSAGE_PAYLOAD
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:60
wrench::ComputeServiceMessagePayload::IS_THERE_AT_LEAST_ONE_HOST_WITH_AVAILABLE_RESOURCES_ANSWER_MESSAGE_PAYLOAD
static const std::string IS_THERE_AT_LEAST_ONE_HOST_WITH_AVAILABLE_RESOURCES_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the daemon to ask is one host has some resources a...
Definition: ComputeServiceMessagePayload.h:78
wrench::ComputeServiceMessagePayload::SUBMIT_COMPOUND_JOB_ANSWER_MESSAGE_PAYLOAD
static const std::string SUBMIT_COMPOUND_JOB_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to acknowledge a compound job submissio...
Definition: ComputeServiceMessagePayload.h:43
wrench::ComputeServiceMessagePayload::TERMINATE_PILOT_JOB_ANSWER_MESSAGE_PAYLOAD
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:66
wrench::ComputeServiceMessagePayload::TTL_ANSWER_MESSAGE_PAYLOAD
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:72
wrench::ComputeServiceMessagePayload::SUBMIT_STANDARD_JOB_REQUEST_MESSAGE_PAYLOAD
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:27
wrench::ComputeServiceMessagePayload::COMPOUND_JOB_DONE_MESSAGE_PAYLOAD
static const std::string COMPOUND_JOB_DONE_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to state that it has completed a compou...
Definition: ComputeServiceMessagePayload.h:45
wrench::ComputeServiceMessagePayload::TERMINATE_STANDARD_JOB_ANSWER_MESSAGE_PAYLOAD
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:37
wrench::ComputeServiceMessagePayload::RESOURCE_DESCRIPTION_REQUEST_MESSAGE_PAYLOAD
static const std::string RESOURCE_DESCRIPTION_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the daemon to request information on its resources...
Definition: ComputeServiceMessagePayload.h:74
wrench::ComputeServiceMessagePayload::IS_THERE_AT_LEAST_ONE_HOST_WITH_AVAILABLE_RESOURCES_REQUEST_MESSAGE_PAYLOAD
static const std::string IS_THERE_AT_LEAST_ONE_HOST_WITH_AVAILABLE_RESOURCES_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message by the the daemon to state whether one host has some resou...
Definition: ComputeServiceMessagePayload.h:80
wrench::ComputeServiceMessagePayload::TERMINATE_PILOT_JOB_REQUEST_MESSAGE_PAYLOAD
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:64
wrench::ComputeServiceMessagePayload::STANDARD_JOB_DONE_MESSAGE_PAYLOAD
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:31
wrench::ComputeServiceMessagePayload::STANDARD_JOB_FAILED_MESSAGE_PAYLOAD
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:33
wrench
Definition: Action.cpp:28
wrench::ComputeServiceMessagePayload::TERMINATE_STANDARD_JOB_REQUEST_MESSAGE_PAYLOAD
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:35
wrench::ComputeServiceMessagePayload::SUBMIT_PILOT_JOB_ANSWER_MESSAGE_PAYLOAD
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:56
wrench::ComputeServiceMessagePayload::COMPOUND_JOB_FAILED_MESSAGE_PAYLOAD
static const std::string COMPOUND_JOB_FAILED_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to state that a running compound job ha...
Definition: ComputeServiceMessagePayload.h:47
wrench::ComputeServiceMessagePayload
Configurable message payloads for a ComputeService.
Definition: ComputeServiceMessagePayload.h:21
wrench::ComputeServiceMessagePayload::RESOURCE_DESCRIPTION_ANSWER_MESSAGE_PAYLOAD
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:76
wrench::ComputeServiceMessagePayload::PILOT_JOB_STARTED_MESSAGE_PAYLOAD
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:58
wrench::ServiceMessagePayload
Configurable message payloads for a Service.
Definition: ServiceMessagePayload.h:31
wrench::ComputeServiceMessagePayload::SUBMIT_STANDARD_JOB_ANSWER_MESSAGE_PAYLOAD
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:29
wrench::ComputeServiceMessagePayload::TTL_REQUEST_MESSAGE_PAYLOAD
static const std::string TTL_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:70
wrench::ComputeServiceMessagePayload::JOB_TYPE_NOT_SUPPORTED_MESSAGE_PAYLOAD
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
wrench::ComputeServiceMessagePayload::SUBMIT_PILOT_JOB_REQUEST_MESSAGE_PAYLOAD
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:54
wrench::ComputeServiceMessagePayload::SUBMIT_COMPOUND_JOB_REQUEST_MESSAGE_PAYLOAD
static const std::string SUBMIT_COMPOUND_JOB_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the daemon to submit a pilot job.
Definition: ComputeServiceMessagePayload.h:41
wrench::ComputeServiceMessagePayload::PILOT_JOB_FAILED_MESSAGE_PAYLOAD
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:62
wrench::ComputeServiceMessagePayload::TERMINATE_COMPOUND_JOB_REQUEST_MESSAGE_PAYLOAD
static const std::string TERMINATE_COMPOUND_JOB_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the daemon to terminate a compound job.
Definition: ComputeServiceMessagePayload.h:49
wrench::ComputeServiceMessagePayload::TERMINATE_COMPOUND_JOB_ANSWER_MESSAGE_PAYLOAD
static const std::string TERMINATE_COMPOUND_JOB_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to acknowledge a compound job terminati...
Definition: ComputeServiceMessagePayload.h:51