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, double payload)

Constructor.

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

  • payload – the message size in bytes

Throws:

std::invalid_argument

Public Members

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

Known or newly allocated FileLocations for requested file.