wrench::StorageServiceFileLookupAnswerMessage

class wrench::StorageServiceFileLookupAnswerMessage : public wrench::StorageServiceMessage

A message sent by a StorageService in answer to a file lookup request.

Public Functions

StorageServiceFileLookupAnswerMessage(std::shared_ptr<DataFile> file, bool file_is_available, double payload)

Constructor.

Parameters
  • file – the file

  • file_is_available – true if the file is available on the storage system

  • payload – the message size in bytes

Throws

std::invalid_argument

Public Members

std::shared_ptr<DataFile> file

The file that was looked up.

bool file_is_available

Whether the file was found.