wrench::StorageServiceFileLookupRequestMessage Class Reference

A message sent to a StorageService to lookup a file. More...

#include <StorageServiceMessage.h>

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

Public Member Functions

 StorageServiceFileLookupRequestMessage (std::string answer_mailbox, WorkflowFile *file, std::shared_ptr< FileLocation > location, 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 answer_mailbox
 Mailbox to which the answer message should be sent.
 
WorkflowFilefile
 The file to lookup.
 
std::shared_ptr< FileLocationlocation
 The file location (hopefully)
 
- 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 to a StorageService to lookup a file.

Constructor & Destructor Documentation

◆ StorageServiceFileLookupRequestMessage()

wrench::StorageServiceFileLookupRequestMessage::StorageServiceFileLookupRequestMessage ( std::string  answer_mailbox,
WorkflowFile file,
std::shared_ptr< FileLocation location,
double  payload 
)

Constructor.

Parameters
answer_mailboxthe mailbox to which to send the answer
filethe file
locationthe file location (hopefully)
payloadthe message size in bytes
Exceptions
std::invalid_argument

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