wrench::StorageServiceFileCopyRequestMessage

class StorageServiceFileCopyRequestMessage : public wrench::StorageServiceMessage

A message sent to a StorageService to copy a file from another StorageService.

Public Functions

StorageServiceFileCopyRequestMessage(S4U_CommPort *answer_commport, std::shared_ptr<FileLocation> src, std::shared_ptr<FileLocation> dst, sg_size_t payload)

Constructor.

Parameters:
  • answer_commport – the commport to which to send the answer (if nullptr, no answer will be sent)

  • src – the source location

  • dst – the destination location

  • payload – the message size in bytes

Public Members

S4U_CommPort *answer_commport

CommPort to which the answer message should be sent.

std::shared_ptr<FileLocation> dst

The destination location.

std::shared_ptr<FileLocation> src

The source location.