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

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

#include <StorageServiceMessage.h>

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

Public Member Functions

 StorageServiceFileLookupAnswerMessage (WorkflowFile *file, bool file_is_available, 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

WorkflowFilefile
 The file that was looked up.
 
bool file_is_available
 Whether the file was found.
 
- 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 lookup request.

Constructor & Destructor Documentation

◆ StorageServiceFileLookupAnswerMessage()

wrench::StorageServiceFileLookupAnswerMessage::StorageServiceFileLookupAnswerMessage ( WorkflowFile file,
bool  file_is_available,
double  payload 
)

Constructor.

Parameters
filethe file
file_is_availabletrue if the file is available on the storage system
payloadthe message size in bytes
Exceptions
std::invalid_argument

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