A message sent by a StorageService in answer to a file deletion request. More...
#include <StorageServiceMessage.h>
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 Attributes | |
std::shared_ptr< FailureCause > | failure_cause |
The cause of the failure, or nullptr if success. | |
WorkflowFile * | 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. | |
Additional Inherited Members |
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 | ||
) |
Constructor.
- Parameters
-
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
- Exceptions
-
std::invalid_argument
The documentation for this class was generated from the following files:
- StorageServiceMessage.h
- StorageServiceMessage.cpp