wrench::FileRegistryAddEntryRequestMessage

class wrench::FileRegistryAddEntryRequestMessage : public wrench::FileRegistryMessage

A message sent to a FileRegistryService to request the addition of an entry.

Public Functions

FileRegistryAddEntryRequestMessage(simgrid::s4u::Mailbox *answer_mailbox, std::shared_ptr<DataFile> file, std::shared_ptr<FileLocation> location, double payload)

Constructor.

Parameters
  • answer_mailbox – the mailbox to which the answer message should be sent

  • file – the file for which an entry should be added

  • location – the location for the new entry

  • payload – the message size in bytes

Public Members

simgrid::s4u::Mailbox *answer_mailbox

The mailbox to which the answer message should be sent.

std::shared_ptr<DataFile> file

The file for which to add an entry.

std::shared_ptr<FileLocation> location

The location in that entry.