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

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

#include <StorageServiceMessage.h>

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

Public Member Functions

 StorageServiceFileReadRequestMessage (std::string answer_mailbox, std::string mailbox_to_receive_the_file_content, WorkflowFile *file, std::shared_ptr< FileLocation > location, unsigned long buffer_size, 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
 The mailbox to which the answer message should be sent.
unsigned long buffer_size
 The requested buffer size.
 The file to read.
std::shared_ptr< FileLocationlocation
 The location from which to read the file.
std::string mailbox_to_receive_the_file_content
 The mailbox to which the file content should be sent.
- 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 read a file.

Constructor & Destructor Documentation

◆ StorageServiceFileReadRequestMessage()

wrench::StorageServiceFileReadRequestMessage::StorageServiceFileReadRequestMessage ( std::string  answer_mailbox,
std::string  mailbox_to_receive_the_file_content,
WorkflowFile file,
std::shared_ptr< FileLocation location,
unsigned long  buffer_size,
double  payload 


answer_mailboxthe mailbox to which to send the answer
mailbox_to_receive_the_file_contentthe mailbox to which to send the file content
filethe file
locationthe location where the file is stored
buffer_sizethe requested buffer size
payloadthe message size in bytes

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