class StorageServiceFileDeleteAnswerMessage : public wrench::StorageServiceMessage

A message sent by a StorageService in answer to a file deletion request.

Public Functions

StorageServiceFileDeleteAnswerMessage(std::shared_ptr<DataFile> file, std::shared_ptr<StorageService> storage_service, bool success, std::shared_ptr<FailureCause> failure_cause, double payload)


  • file – the file to delete

  • storage_service – the storage service on which to delete it

  • success – whether the deletion was successful

  • failure_cause – the cause of a failure (nullptr means “no failure”)

  • payload – the message size in bytes



Public Members

std::shared_ptr<FailureCause> failure_cause

The cause of the failure, or nullptr if success.

std::shared_ptr<DataFile> file

The file that was deleted (or not)

std::shared_ptr<StorageService> storage_service

The storage service on which the deletion happened (or not)

bool success

Whether the deletion was successful.