wrench::StorageServiceFileDeleteAnswerMessage Class Reference

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

#include <StorageServiceMessage.h>

Inheritance diagram for wrench::StorageServiceFileDeleteAnswerMessage:
wrench::StorageServiceMessage wrench::ServiceMessage wrench::SimulationMessage

Public Member Functions

 StorageServiceFileDeleteAnswerMessage (WorkflowFile *file, std::shared_ptr< StorageService > storage_service, bool success, std::shared_ptr< FailureCause > failure_cause, double payload)
 Constructor. More...
- Public Member Functions inherited from wrench::SimulationMessage
 SimulationMessage (std::string name, double payload)
 Constructor. More...
virtual std::string getName ()
 Retrieve the message name. More...

Public Attributes

std::shared_ptr< FailureCausefailure_cause
 The cause of the failure, or nullptr if success.
 The file that was deleted (or not)
std::shared_ptr< StorageServicestorage_service
 The storage service on which the deletion happened (or not)
bool success
 Whether the deletion was successful.
- Public Attributes inherited from wrench::SimulationMessage
std::string name
 The message name.
double payload
 The message size in bytes.

Additional Inherited Members

- Protected Member Functions inherited from wrench::StorageServiceMessage
 StorageServiceMessage (std::string name, double payload)
 Constructor. More...
- Protected Member Functions inherited from wrench::ServiceMessage
 ServiceMessage (std::string name, double payload)
 Constructor. More...

Detailed Description

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

Constructor & Destructor Documentation

◆ StorageServiceFileDeleteAnswerMessage()

wrench::StorageServiceFileDeleteAnswerMessage::StorageServiceFileDeleteAnswerMessage ( WorkflowFile file,
std::shared_ptr< StorageService storage_service,
bool  success,
std::shared_ptr< FailureCause failure_cause,
double  payload 


filethe file to delete
storage_servicethe storage service on which to delete it
successwhether the deletion was successful
failure_causethe cause of a failure (nullptr means "no failure")
payloadthe message size in bytes

The documentation for this class was generated from the following files: