WRENCH
1.11
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 (std::shared_ptr< DataFile >file, std::shared_ptr< FileLocation > location, bool success, std::shared_ptr< FailureCause > failure_cause, simgrid::s4u::Mailbox *data_write_mailbox_name, double payload) | |
Constructor. More... | |
Public Attributes | |
simgrid::s4u::Mailbox * | data_write_mailbox |
The mailbox on which to send the file. | |
std::shared_ptr< FailureCause > | failure_cause |
The cause of the failure, if any, or nullptr. | |
std::shared_ptr< DataFile > | 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 | ( | std::shared_ptr< DataFile > | file, |
std::shared_ptr< FileLocation > | location, | ||
bool | success, | ||
std::shared_ptr< FailureCause > | failure_cause, | ||
simgrid::s4u::Mailbox * | data_write_mailbox, | ||
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 |