A message sent to a StorageService to read a file. More...
#include <StorageServiceMessage.h>
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 Attributes | |
std::string | answer_mailbox |
The mailbox to which the answer message should be sent. | |
unsigned long | buffer_size |
The requested buffer size. | |
WorkflowFile * | file |
The file to read. | |
std::shared_ptr< FileLocation > | location |
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. | |
Additional Inherited Members |
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 | ||
) |
Constructor.
- Parameters
-
answer_mailbox the mailbox to which to send the answer mailbox_to_receive_the_file_content the mailbox to which to send the file content file the file location the location where the file is stored buffer_size the requested buffer size payload the message size in bytes
- Exceptions
-
std::invalid_argument
The documentation for this class was generated from the following files:
- StorageServiceMessage.h
- StorageServiceMessage.cpp