A message sent to a StorageService to copy a file from another StorageService. More...
#include <StorageServiceMessage.h>
Public Member Functions | |
StorageServiceFileCopyRequestMessage (std::string answer_mailbox, WorkflowFile *file, std::shared_ptr< FileLocation > src, std::shared_ptr< FileLocation > dst, std::shared_ptr< FileRegistryService > file_registry_service, double payload) | |
Constructor. More... | |
Public Attributes | |
std::string | answer_mailbox |
Mailbox to which the answer message should be sent. | |
std::shared_ptr< FileLocation > | dst |
The destination location. | |
WorkflowFile * | 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 |
Detailed Description
A message sent to a StorageService to copy a file from another StorageService.
Constructor & Destructor Documentation
◆ StorageServiceFileCopyRequestMessage()
wrench::StorageServiceFileCopyRequestMessage::StorageServiceFileCopyRequestMessage | ( | std::string | answer_mailbox, |
WorkflowFile * | file, | ||
std::shared_ptr< FileLocation > | src, | ||
std::shared_ptr< FileLocation > | dst, | ||
std::shared_ptr< FileRegistryService > | file_registry_service, | ||
double | payload | ||
) |
Constructor.
- Parameters
-
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
- Exceptions
-
std::invalid_argument
The documentation for this class was generated from the following files:
- StorageServiceMessage.h
- StorageServiceMessage.cpp