wrench::CompoundStorageLookupRequestMessage

class CompoundStorageLookupRequestMessage : public wrench::CompoundStorageServiceMessage

A message sent to a CompoundStorageService to request a storage allocation for a file.

Public Functions

CompoundStorageLookupRequestMessage(S4U_CommPort *answer_commport, std::shared_ptr<DataFile> file, double payload)

Constructor.

Parameters:
  • answer_commport – the commport to which to send the answer

  • file – the file for which storage allocation is requested

  • payload – the message size in bytes

Throws:

std::invalid_argument

Public Members

S4U_CommPort *answer_commport

CommPort to which the answer message should be sent.

std::shared_ptr<DataFile> file

The path.