A message sent by a StorageService in answer to a file read request.
More...
#include <StorageServiceMessage.h>
A message sent by a StorageService in answer to a file read request.
◆ StorageServiceFileReadAnswerMessage()
wrench::StorageServiceFileReadAnswerMessage::StorageServiceFileReadAnswerMessage |
( |
std::shared_ptr< DataFile > |
file, |
|
|
std::shared_ptr< FileLocation > |
location, |
|
|
bool |
success, |
|
|
std::shared_ptr< FailureCause > |
failure_cause, |
|
|
double |
payload |
|
) |
| |
Constructor.
- Parameters
-
file | the file |
location | the location of the file |
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
-
The documentation for this class was generated from the following files: