StorageServiceMessagePayload.h
1 
11 #ifndef WRENCH_STORAGESERVICEMESSAGEPAYLOAD_H
12 #define WRENCH_STORAGESERVICEMESSAGEPAYLOAD_H
13 
14 #include "wrench/services/ServiceMessagePayload.h"
15 
16 
17 namespace wrench {
18 
23 
24  public:
25 
27  DECLARE_MESSAGEPAYLOAD_NAME(FREE_SPACE_REQUEST_MESSAGE_PAYLOAD);
29  DECLARE_MESSAGEPAYLOAD_NAME(FREE_SPACE_ANSWER_MESSAGE_PAYLOAD);
30 
32  DECLARE_MESSAGEPAYLOAD_NAME(FILE_LOOKUP_REQUEST_MESSAGE_PAYLOAD);
34  DECLARE_MESSAGEPAYLOAD_NAME(FILE_LOOKUP_ANSWER_MESSAGE_PAYLOAD);
35 
37  DECLARE_MESSAGEPAYLOAD_NAME(FILE_DELETE_REQUEST_MESSAGE_PAYLOAD);
39  DECLARE_MESSAGEPAYLOAD_NAME(FILE_DELETE_ANSWER_MESSAGE_PAYLOAD);
40 
42  DECLARE_MESSAGEPAYLOAD_NAME(FILE_COPY_REQUEST_MESSAGE_PAYLOAD);
44  DECLARE_MESSAGEPAYLOAD_NAME(FILE_COPY_ANSWER_MESSAGE_PAYLOAD);
45 
47  DECLARE_MESSAGEPAYLOAD_NAME(FILE_WRITE_REQUEST_MESSAGE_PAYLOAD);
49  DECLARE_MESSAGEPAYLOAD_NAME(FILE_WRITE_ANSWER_MESSAGE_PAYLOAD);
50 
52  DECLARE_MESSAGEPAYLOAD_NAME(FILE_READ_REQUEST_MESSAGE_PAYLOAD);
54  DECLARE_MESSAGEPAYLOAD_NAME(FILE_READ_ANSWER_MESSAGE_PAYLOAD);
55 
57  DECLARE_MESSAGEPAYLOAD_NAME(FILE_NOT_FOUND_MESSAGE_PAYLOAD);
58 
60  DECLARE_MESSAGEPAYLOAD_NAME(NOT_ENOUGH_STORAGE_SPACE_MESSAGE_PAYLOAD);
61 
62  };
63 
64 };
65 
66 
67 #endif //WRENCH_STORAGESERVICEMESSAGEPAYLOAD_H
Configurable message payloads for a StorageService.
Definition: StorageServiceMessagePayload.h:22
static const std::string NOT_ENOUGH_STORAGE_SPACE_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to say "not enough space".
Definition: StorageServiceMessagePayload.h:60
static const std::string FILE_READ_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to answer a file copy request.
Definition: StorageServiceMessagePayload.h:54
static const std::string FILE_COPY_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to answer a file copy request.
Definition: StorageServiceMessagePayload.h:44
static const std::string FREE_SPACE_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to answer free space information reques...
Definition: StorageServiceMessagePayload.h:29
static const std::string FILE_WRITE_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to answer a file copy request.
Definition: StorageServiceMessagePayload.h:49
static const std::string FILE_LOOKUP_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the daemon to request a file lookup.
Definition: StorageServiceMessagePayload.h:32
Definition: Alarm.cpp:20
static const std::string FILE_WRITE_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the daemon to request a file copy.
Definition: StorageServiceMessagePayload.h:47
static const std::string FILE_READ_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the daemon to request a file copy.
Definition: StorageServiceMessagePayload.h:52
static const std::string FILE_DELETE_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to answer a file deletion request.
Definition: StorageServiceMessagePayload.h:39
static const std::string FILE_NOT_FOUND_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to say "file not found".
Definition: StorageServiceMessagePayload.h:57
static const std::string FILE_DELETE_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the daemon to request a file deletion.
Definition: StorageServiceMessagePayload.h:37
static const std::string FREE_SPACE_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the daemon to request its free space information.
Definition: StorageServiceMessagePayload.h:27
static const std::string FILE_LOOKUP_ANSWER_MESSAGE_PAYLOAD
The number of bytes in the control message sent by the daemon to answer a file lookup request.
Definition: StorageServiceMessagePayload.h:34
Configurable message payloads for a Service.
Definition: ServiceMessagePayload.h:27
static const std::string FILE_COPY_REQUEST_MESSAGE_PAYLOAD
The number of bytes in the control message sent to the daemon to request a file copy.
Definition: StorageServiceMessagePayload.h:42