wrench::DataManagerFileCopyAnswerMessage

class DataManagerFileCopyAnswerMessage : public wrench::DataMovementManagerMessage

A message sent by a DataMovementManager upon file copy completion.

Public Functions

DataManagerFileCopyAnswerMessage(std::shared_ptr<FileLocation> src_location, std::shared_ptr<FileLocation> dst_location, bool success, std::shared_ptr<FailureCause> failure_cause)

Constructor.

Parameters:
  • src_location – the source location

  • dst_location – the destination location

  • success – true if success, false otherwise

  • failure_cause – a failure cause (nullptr is success if false)

Public Members

std::shared_ptr<FileLocation> dst_location

The dst location.

std::shared_ptr<FailureCause> failure_cause

The failure cause, if any.

std::shared_ptr<FileLocation> src_location

The src location.

bool success

Whether the operation succeeded.