wrench::StorageServiceFileWriteAnswerMessage
-
class wrench::StorageServiceFileWriteAnswerMessage : public wrench::StorageServiceMessage
A message sent by a StorageService in answer to a file write request.
Public Functions
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 – the mailbox to which file content should be sent
payload – the message size in bytes
- Throws
std::invalid_argument –
Public Members
-
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<FileLocation> location
The location at which the file should be written.
-
bool success
Whether the write operation request was accepted or not.