wrench::StorageServiceFileReadRequestMessage
-
class StorageServiceFileReadRequestMessage : public wrench::StorageServiceMessage
A message sent to a StorageService to read a file.
Public Functions
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
num_bytes_to_read – the number of bytes to read
payload – the message size in bytes
- Throws
std::invalid_argument –
-
StorageServiceFileReadRequestMessage(StorageServiceFileReadRequestMessage &other)
Constructor.
- Parameters
other – packet to copy
- Throws
std::invalid_argument –
-
StorageServiceFileReadRequestMessage(StorageServiceFileReadRequestMessage *other)
Constructor.
- Parameters
other – packet to copy
- Throws
std::invalid_argument –
Public Members
-
simgrid::s4u::Mailbox *answer_mailbox
The mailbox to which the answer message should be sent.
-
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.