FileTransferThread.h
88 void receiveFileFromNetwork(WorkflowFile *file, std::string mailbox, std::shared_ptr<FileLocation> location);
89 void sendLocalFileToNetwork(WorkflowFile *file, std::shared_ptr<FileLocation> location, std::string mailbox);
90 void downloadFileFromStorageService(WorkflowFile *file, std::shared_ptr<FileLocation> src_location, std::shared_ptr<FileLocation> dst_location);
91 void copyFileLocally(WorkflowFile *file, std::shared_ptr<FileLocation> src_location, std::shared_ptr<FileLocation> dst_location);
int main() override
Main method.
Definition: FileTransferThread.cpp:163
FileTransferThread(std::string hostname, std::shared_ptr< StorageService > parent, WorkflowFile *file, std::string src_mailbox, std::shared_ptr< FileLocation > dst_location, std::string answer_mailbox_if_read, std::string answer_mailbox_if_write, std::string answer_mailbox_if_copy, unsigned long buffer_size, SimulationTimestampFileCopyStart *start_timestamp=nullptr)
Constructor.
Definition: FileTransferThread.cpp:42
A service that can be added to the simulation and that can be used by a WMS when executing a workflow...
Definition: Service.h:26
A helper class that implements the concept of a communication thread that performs a file transfer...
Definition: FileTransferThread.h:26
A data file used/produced by a WorkflowTask in a Workflow.
Definition: WorkflowFile.h:26
void cleanup(bool has_returned_from_main, int return_value) override
Cleanup method.
Definition: FileTransferThread.cpp:155
A simulation timestamp class for file copy start times.
Definition: SimulationTimestampTypes.h:186
Definition: Alarm.cpp:19