wrench::StorageServiceFileLookupRequestMessage

class StorageServiceFileLookupRequestMessage : public wrench::StorageServiceMessage

A message sent to a StorageService to lookup a file.

Public Functions

StorageServiceFileLookupRequestMessage(S4U_CommPort *answer_commport, const std::shared_ptr<FileLocation> &location, double payload)

Constructor.

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

  • location – the file location (hopefully)

  • 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<FileLocation> location

The location to lookup.