wrench::FileRegistryFileLookupAnswerMessage Class Reference

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

#include <FileRegistryMessage.h>

Inheritance diagram for wrench::FileRegistryFileLookupAnswerMessage:
wrench::FileRegistryMessage wrench::ServiceMessage wrench::SimulationMessage

Public Member Functions

 FileRegistryFileLookupAnswerMessage (WorkflowFile *file, std::set< StorageService *> locations, 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.
 
std::set< StorageService * > locations
 The (possibly empty) set of storage services where 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::FileRegistryMessage
 FileRegistryMessage (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 FileRegistryService in answer to a file lookup request.

Constructor & Destructor Documentation

◆ FileRegistryFileLookupAnswerMessage()

wrench::FileRegistryFileLookupAnswerMessage::FileRegistryFileLookupAnswerMessage ( WorkflowFile file,
std::set< StorageService *>  locations,
double  payload 
)

Constructor.

Parameters
filethe file that was looked up
locationsthe set of storage services where the file is located
payloadthe message size in bytes

The documentation for this class was generated from the following files:
  • /Users/rafsilva/Documents/isi/workspace/wrench/wrench/src/wrench/services/file_registry/FileRegistryMessage.h
  • /Users/rafsilva/Documents/isi/workspace/wrench/wrench/src/wrench/services/file_registry/FileRegistryMessage.cpp