wrench::StorageServiceFileReadRequestMessage
-
class StorageServiceFileReadRequestMessage : public wrench::StorageServiceMessage
A message sent to a StorageService to read a file.
Public Functions
Constructor.
- Parameters:
answer_commport – the commport to which to send the answer
requesting_host – the requesting host
location – the location to read
num_bytes_to_read – the number of bytes to read
payload – the message size in bytes
-
StorageServiceFileReadRequestMessage(StorageServiceFileReadRequestMessage &other)
Constructor.
- Parameters:
other – packet to copy
-
explicit StorageServiceFileReadRequestMessage(StorageServiceFileReadRequestMessage *other)
Constructor.
- Parameters:
other – packet to copy
Public Members
-
S4U_CommPort *answer_commport
The commport_name to which the answer message should be sent.
-
std::shared_ptr<FileLocation> location
The file to read.
-
sg_size_t num_bytes_to_read
The number of bytes to read.
-
simgrid::s4u::Host *requesting_host = nullptr
The requesting host.