wrench::StorageServiceFileLookupAnswerMessage

class 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, sg_size_t 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

Public Members

std::shared_ptr<DataFile> file

The file that was looked up.

bool file_is_available

Whether the file was found.