wrench::CompoundStorageAllocationAnswerMessage

class CompoundStorageAllocationAnswerMessage : public wrench::CompoundStorageServiceMessage

A message sent by a StorageService in answer to a storage selection request.

Public Functions

CompoundStorageAllocationAnswerMessage(std::vector<std::shared_ptr<FileLocation>> locations, sg_size_t payload)

Constructor.

Parameters:
  • locations – Existing or newly allocated FileLocations for requested file

  • payload – the message size in bytes

Public Members

std::vector<std::shared_ptr<FileLocation>> locations

Known or newly allocated FileLocations for requested file.