A message sent by a StorageService in answer to a file write request. More...
#include <StorageServiceMessage.h>
Public Member Functions | |
StorageServiceFileWriteAnswerMessage (WorkflowFile *file, std::shared_ptr< FileLocation > location, bool success, std::shared_ptr< FailureCause > failure_cause, std::string data_write_mailbox_name, double payload) | |
Constructor. More... | |
Public Attributes | |
std::string | data_write_mailbox_name |
The mailbox on which to send the file. | |
std::shared_ptr< FailureCause > | failure_cause |
The cause of the failure, if any, or nullptr. | |
WorkflowFile * | file |
The workflow file that should be written. | |
std::shared_ptr< FileLocation > | location |
The location at which the file should be written. | |
bool | success |
Whether the write operation request was accepted or not. | |
Additional Inherited Members |
Detailed Description
A message sent by a StorageService in answer to a file write request.
Constructor & Destructor Documentation
◆ StorageServiceFileWriteAnswerMessage()
wrench::StorageServiceFileWriteAnswerMessage::StorageServiceFileWriteAnswerMessage | ( | WorkflowFile * | file, |
std::shared_ptr< FileLocation > | location, | ||
bool | success, | ||
std::shared_ptr< FailureCause > | failure_cause, | ||
std::string | data_write_mailbox_name, | ||
double | payload | ||
) |
Constructor.
- Parameters
-
file the file location the file's location success whether the write operation succeeded failure_cause the cause of the failure (nullptr if success) data_write_mailbox_name the mailbox to which file content should be sent payload the message size in bytes
- Exceptions
-
std::invalid_argument
The documentation for this class was generated from the following files:
- StorageServiceMessage.h
- StorageServiceMessage.cpp