class wrench::StorageServiceFileReadRequestMessage : public wrench::StorageServiceMessage

A message sent to a StorageService to read a file.

Public 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)


  • 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



Public Members

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.