![]() |
WRENCH
1.11
Cyberinfrastructure Simulation Workbench
|
Overview | Installation | Getting Started | WRENCH 101 | WRENCH 102 |
|
A message sent to a StorageService to copy a file from another StorageService. More...
#include <StorageServiceMessage.h>
Public Member Functions | |
StorageServiceFileCopyRequestMessage (simgrid::s4u::Mailbox *answer_mailbox, std::shared_ptr< DataFile > file, std::shared_ptr< FileLocation > src, std::shared_ptr< FileLocation > dst, std::shared_ptr< FileRegistryService > file_registry_service, double payload) | |
Constructor. More... | |
Public Attributes | |
simgrid::s4u::Mailbox * | answer_mailbox |
Mailbox to which the answer message should be sent. | |
std::shared_ptr< FileLocation > | dst |
The destination location. | |
std::shared_ptr< DataFile > | file |
The file to copy. | |
std::shared_ptr< FileRegistryService > | file_registry_service |
The file registry service to update, or none if nullptr. | |
std::shared_ptr< FileLocation > | src |
The source location. | |
Additional Inherited Members |
A message sent to a StorageService to copy a file from another StorageService.
wrench::StorageServiceFileCopyRequestMessage::StorageServiceFileCopyRequestMessage | ( | simgrid::s4u::Mailbox * | answer_mailbox, |
std::shared_ptr< DataFile > | file, | ||
std::shared_ptr< FileLocation > | src, | ||
std::shared_ptr< FileLocation > | dst, | ||
std::shared_ptr< FileRegistryService > | file_registry_service, | ||
double | payload | ||
) |
Constructor.
answer_mailbox | the mailbox to which to send the answer |
file | the file |
src | the source location |
dst | the destination location |
file_registry_service | the file registry service to update (nullptr if none) |
payload | the message size in bytes |
std::invalid_argument |