WRENCH  1.10
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | Public Attributes | List of all members
wrench::StorageServiceFileWriteAnswerMessage Class Reference

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

#include <StorageServiceMessage.h>

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

Public Member Functions

 StorageServiceFileWriteAnswerMessage (WorkflowFile *file, std::shared_ptr< FileLocation > location, bool success, std::shared_ptr< FailureCause > failure_cause, std::string data_write_mailbox_name, 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::string data_write_mailbox_name
 The mailbox on which to send the file.
std::shared_ptr< FailureCausefailure_cause
 The cause of the failure, if any, or nullptr.
 The workflow file that should be written.
std::shared_ptr< FileLocationlocation
 The location at which the file should be written.
bool success
 Whether the write operation request was accepted or not.
- 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 write request.

Constructor & Destructor Documentation

◆ StorageServiceFileWriteAnswerMessage()

wrench::StorageServiceFileWriteAnswerMessage::StorageServiceFileWriteAnswerMessage ( WorkflowFile file,
std::shared_ptr< FileLocation location,
bool  success,
std::shared_ptr< FailureCause failure_cause,
std::string  data_write_mailbox_name,
double  payload 


filethe file
locationthe file's location
successwhether the write operation succeeded
failure_causethe cause of the failure (nullptr if success)
data_write_mailbox_namethe mailbox to which file content should be sent
payloadthe message size in bytes

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