CloudComputeServiceMessagePayload.h
1 
10 #ifndef WRENCH_CLOUDSERVICEMESSAGEPAYLOAD_H
11 #define WRENCH_CLOUDSERVICEMESSAGEPAYLOAD_H
12 
13 #include "wrench/services/compute/ComputeServiceMessagePayload.h"
14 
15 namespace wrench {
16 
21 
22  public:
24  DECLARE_MESSAGEPAYLOAD_NAME(GET_EXECUTION_HOSTS_REQUEST_MESSAGE_PAYLOAD);
26  DECLARE_MESSAGEPAYLOAD_NAME(GET_EXECUTION_HOSTS_ANSWER_MESSAGE_PAYLOAD);
28  DECLARE_MESSAGEPAYLOAD_NAME(CREATE_VM_REQUEST_MESSAGE_PAYLOAD);
30  DECLARE_MESSAGEPAYLOAD_NAME(CREATE_VM_ANSWER_MESSAGE_PAYLOAD);
32  DECLARE_MESSAGEPAYLOAD_NAME(SHUTDOWN_VM_REQUEST_MESSAGE_PAYLOAD);
34  DECLARE_MESSAGEPAYLOAD_NAME(SHUTDOWN_VM_ANSWER_MESSAGE_PAYLOAD);
36  DECLARE_MESSAGEPAYLOAD_NAME(START_VM_REQUEST_MESSAGE_PAYLOAD);
38  DECLARE_MESSAGEPAYLOAD_NAME(START_VM_ANSWER_MESSAGE_PAYLOAD);
40  DECLARE_MESSAGEPAYLOAD_NAME(SUSPEND_VM_REQUEST_MESSAGE_PAYLOAD);
42  DECLARE_MESSAGEPAYLOAD_NAME(SUSPEND_VM_ANSWER_MESSAGE_PAYLOAD);
44  DECLARE_MESSAGEPAYLOAD_NAME(RESUME_VM_REQUEST_MESSAGE_PAYLOAD);
46  DECLARE_MESSAGEPAYLOAD_NAME(RESUME_VM_ANSWER_MESSAGE_PAYLOAD);
48  DECLARE_MESSAGEPAYLOAD_NAME(DESTROY_VM_REQUEST_MESSAGE_PAYLOAD);
50  DECLARE_MESSAGEPAYLOAD_NAME(DESTROY_VM_ANSWER_MESSAGE_PAYLOAD);
51  };
52 }
53 
54 #endif //WRENCH_CLOUDSERVICEMESSAGEPAYLOAD_H
static const std::string CREATE_VM_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the service in answer to a VM creation request.
Definition: CloudComputeServiceMessagePayload.h:30
static const std::string SHUTDOWN_VM_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the service in answer to a VM shutdown request.
Definition: CloudComputeServiceMessagePayload.h:34
Configurable message payloads for a CloudService.
Definition: CloudComputeServiceMessagePayload.h:20
static const std::string SHUTDOWN_VM_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the service to request a VM shutdown.
Definition: CloudComputeServiceMessagePayload.h:32
static const std::string START_VM_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the service in answer to a VM start request.
Definition: CloudComputeServiceMessagePayload.h:38
static const std::string SUSPEND_VM_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the service in answer to a VM suspend request.
Definition: CloudComputeServiceMessagePayload.h:42
static const std::string RESUME_VM_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the service to request a VM resume.
Definition: CloudComputeServiceMessagePayload.h:44
static const std::string GET_EXECUTION_HOSTS_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the service to request a get execution hosts.
Definition: CloudComputeServiceMessagePayload.h:24
Definition: Alarm.cpp:20
static const std::string GET_EXECUTION_HOSTS_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the service in answer to a get execution hosts req...
Definition: CloudComputeServiceMessagePayload.h:26
Configurable message payloads for a ComputeService.
Definition: ComputeServiceMessagePayload.h:21
static const std::string DESTROY_VM_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the service in answer to a VM destruction request.
Definition: CloudComputeServiceMessagePayload.h:50
static const std::string CREATE_VM_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the service to request a VM creation.
Definition: CloudComputeServiceMessagePayload.h:28
static const std::string START_VM_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the service to request a VM start.
Definition: CloudComputeServiceMessagePayload.h:36
static const std::string DESTROY_VM_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the service to request a VM destruction.
Definition: CloudComputeServiceMessagePayload.h:48
static const std::string SUSPEND_VM_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the service to request a VM suspend.
Definition: CloudComputeServiceMessagePayload.h:40
static const std::string RESUME_VM_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the service in answer to a VM resume request.
Definition: CloudComputeServiceMessagePayload.h:46