WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | Public Attributes | List of all members
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 (std::shared_ptr< DataFile >file, std::set< std::shared_ptr< FileLocation >> locations, double payload)
 Constructor. More...
 
- Public Member Functions inherited from wrench::SimulationMessage
 SimulationMessage (double payload)
 Constructor. More...
 
virtual std::string getName ()
 Retrieve the message name. More...
 

Public Attributes

std::shared_ptr< DataFilefile
 The file that was looked up.
 
std::set< std::shared_ptr< FileLocation > > locations
 A (possibly empty) set of file locations.
 
- Public Attributes inherited from wrench::SimulationMessage
double payload
 The message name. More...
 

Additional Inherited Members

- Protected Member Functions inherited from wrench::FileRegistryMessage
 FileRegistryMessage (double payload)
 Constructor. More...
 
- Protected Member Functions inherited from wrench::ServiceMessage
 ServiceMessage (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 ( std::shared_ptr< DataFile file,
std::set< std::shared_ptr< FileLocation >>  locations,
double  payload 
)

Constructor.

Parameters
filethe file that was looked up
locationsthe set of locations for the file
payloadthe message size in bytes

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