wrench::DataManagerFileReadAnswerMessage
-
class DataManagerFileReadAnswerMessage : public wrench::DataMovementManagerMessage
A message sent by a DataMovementManager upon file read completion.
Public Functions
Constructor.
- Parameters:
location – a location
num_bytes – the number of bytes for the read
success – true if success, false otherwise
failure_cause – a failure cause (nullptr is success if false)
Public Members
-
std::shared_ptr<FailureCause> failure_cause
The failure cause, if any.
-
std::shared_ptr<FileLocation> location
The read location.
-
sg_size_t num_bytes
The number of bytes to read.
-
bool success
Whether the operation succeeded.