WRENCH
1.11
Cyberinfrastructure Simulation Workbench
|
Overview | Installation | Getting Started | WRENCH 101 | WRENCH 102 |
A message sent to a StorageService to read a file. More...
#include <StorageServiceMessage.h>
Public Member Functions | |
StorageServiceFileReadRequestMessage (simgrid::s4u::Mailbox *answer_mailbox, simgrid::s4u::Mailbox *mailbox_to_receive_the_file_content, std::shared_ptr< DataFile >file, std::shared_ptr< FileLocation > location, double num_bytes_to_read, unsigned long buffer_size, double payload) | |
Constructor. More... | |
Public Attributes | |
simgrid::s4u::Mailbox * | answer_mailbox |
The mailbox to which the answer message should be sent. | |
unsigned long | buffer_size |
The requested buffer size. | |
std::shared_ptr< DataFile > | file |
The file to read. | |
std::shared_ptr< FileLocation > | location |
The location from which to read the file. | |
simgrid::s4u::Mailbox * | mailbox_to_receive_the_file_content |
The mailbox to which the file content should be sent. | |
double | num_bytes_to_read |
The number of bytes to read. | |
Additional Inherited Members |
A message sent to a StorageService to read a file.
wrench::StorageServiceFileReadRequestMessage::StorageServiceFileReadRequestMessage | ( | simgrid::s4u::Mailbox * | answer_mailbox, |
simgrid::s4u::Mailbox * | mailbox_to_receive_the_file_content, | ||
std::shared_ptr< DataFile > | file, | ||
std::shared_ptr< FileLocation > | location, | ||
double | num_bytes_to_read, | ||
unsigned long | buffer_size, | ||
double | payload | ||
) |
Constructor.
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 |
num_bytes_to_read | the number of bytes to read |
buffer_size | the requested buffer size |
payload | the message size in bytes |
std::invalid_argument |