wrench::StorageServiceFileWriteRequestMessage

class StorageServiceFileWriteRequestMessage : public wrench::StorageServiceMessage

A message sent to a StorageService to write a file.

Public Functions

StorageServiceFileWriteRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, simgrid::s4u::Host *requesting_host, const std::shared_ptr<FileLocation> &location, double payload)

Constructor.

Parameters:
  • answer_mailbox – the mailbox to which to send the answer

  • requesting_host – the requesting host

  • location – the location

  • payload – the message size in bytes

Throws:

std::invalid_argument

Public Members

simgrid::s4u::Mailbox *answer_mailbox

Mailbox to which the answer message should be sent.

std::shared_ptr<FileLocation> location

The file to write.

simgrid::s4u::Host *requesting_host

The requesting host.