wrench::StorageServiceFileReadAnswerMessage Class Reference
A message sent by a StorageService in answer to a file read request. More...
#include <StorageServiceMessage.h>
Inheritance diagram for wrench::StorageServiceFileReadAnswerMessage:
Public Member Functions | |
StorageServiceFileReadAnswerMessage (WorkflowFile *file, StorageService *storage_service, bool success, std::shared_ptr< FailureCause > failure_cause, double payload) | |
Constructor. More... | |
Public Attributes | |
std::shared_ptr< FailureCause > | failure_cause |
The cause of the failure, or nullptr on success. | |
WorkflowFile * | file |
The file that was read. | |
StorageService * | storage_service |
The storage service on which the file was read. | |
bool | success |
Whether the read operation was successful or not. | |
Additional Inherited Members |
Detailed Description
A message sent by a StorageService in answer to a file read request.
Constructor & Destructor Documentation
◆ StorageServiceFileReadAnswerMessage()
wrench::StorageServiceFileReadAnswerMessage::StorageServiceFileReadAnswerMessage | ( | WorkflowFile * | file, |
StorageService * | storage_service, | ||
bool | success, | ||
std::shared_ptr< FailureCause > | failure_cause, | ||
double | payload | ||
) |
Constructor.
- Parameters
-
file the file storage_service the storage service success whether the read operation was successful failure_cause the cause of the failure (or nullptr on success) payload the message size in bytes
- Exceptions
-
std::invalid_argument
The documentation for this class was generated from the following files:
- /Users/rafsilva/Documents/isi/workspace/wrench/wrench/src/wrench/services/storage/StorageServiceMessage.h
- /Users/rafsilva/Documents/isi/workspace/wrench/wrench/src/wrench/services/storage/StorageServiceMessage.cpp