wrench::FileRegistryFileLookupAnswerMessage

class wrench::FileRegistryFileLookupAnswerMessage : public wrench::FileRegistryMessage

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

Public Functions

FileRegistryFileLookupAnswerMessage(std::shared_ptr<DataFile> file, std::set<std::shared_ptr<FileLocation>> locations, double payload)

Constructor.

Parameters
  • file – the file that was looked up

  • locations – the set of locations for the file

  • payload – the message size in bytes

Public Members

std::shared_ptr<DataFile> file

The file that was looked up.

std::set<std::shared_ptr<FileLocation>> locations

A (possibly empty) set of file locations.