![]() |
WRENCH
1.10
Cyberinfrastructure Simulation Workbench
|
Overview | Installation | Getting Started | WRENCH 101 | WRENCH 102 |
|
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 |
A message sent by a StorageService in answer to a file write request.
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.
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 |
std::invalid_argument |