wrench::DataMovementManagerFileWriterThreadMessage

class DataMovementManagerFileWriterThreadMessage : public wrench::DataMovementManagerMessage

A message sent to a DataMovementManager from a FileReaderThread.

Public Functions

DataMovementManagerFileWriterThreadMessage(std::shared_ptr<FileLocation> location, bool success, std::shared_ptr<FailureCause> failure_cause)

Constructor.

Parameters:
  • location – a location

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

bool success

Whether the operation succeeded.