class DataManagerFileReadAnswerMessage : public wrench::DataMovementManagerMessage

A message sent by a DataMovementManager upon file read completion.

Public Functions

DataManagerFileReadAnswerMessage(std::shared_ptr<FileLocation> location, double num_bytes, bool success, std::shared_ptr<FailureCause> failure_cause)


  • 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.

double num_bytes

The number of bytes to read.

bool success

Whether the operation succeeded.