A message sent to by a FileTransferThread to report on success/failure of the transfer. More...
#include <FileTransferThreadMessage.h>
Public Member Functions | |
FileTransferThreadNotificationMessage (std::shared_ptr< FileTransferThread > file_transfer_thread, WorkflowFile *file, std::string src_mailbox, std::shared_ptr< FileLocation > src_location, std::string dst_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, bool success, std::shared_ptr< FailureCause > failure_cause) | |
Constructor. More... | |
Public Attributes | |
std::string | answer_mailbox_if_copy |
If this was a file copy, the mailbox to which an answer should be send. | |
std::string | answer_mailbox_if_read |
If this was a file read, the mailbox to which an answer should be send. | |
std::string | answer_mailbox_if_write |
If this was a file write, the mailbox to which an answer should be send. | |
std::shared_ptr< FileLocation > | dst_location |
Destination location (or nullptr if source wasn't a location) | |
std::string | dst_mailbox |
Destination mailbox (or "" if destination wasn't a mailbox) | |
std::shared_ptr< FailureCause > | failure_cause |
The failure cause is case of a failure. | |
WorkflowFile * | file |
File that was being communicated. | |
std::shared_ptr< FileTransferThread > | file_transfer_thread |
File transfer thread that sent this message. | |
std::shared_ptr< FileLocation > | src_location |
Source location (or nullptr if source wasn't a location) | |
std::string | src_mailbox |
Source mailbox (or "" if source wasn't a mailbox) | |
bool | success |
Whether the transfer succeeded or not. | |
Additional Inherited Members |
Detailed Description
A message sent to by a FileTransferThread to report on success/failure of the transfer.
Constructor & Destructor Documentation
◆ FileTransferThreadNotificationMessage()
|
inline |
Constructor.
- Parameters
-
file_transfer_thread the FileTransferThread that sent this message file the file that was being transfered src_mailbox the source mailbox of the transfer (or "" if source wasn't a mailbox) src_location the source location of the transfer (or nullptr if source wasn't a location) dst_mailbox the destination mailbox of the transfer (or "" if source wasn't a mailbox) dst_location the destination location of the transfer (or nullptr if source wasn't a location) answer_mailbox_if_read the mailbox that a "read is done" may be sent to if necessary answer_mailbox_if_write the mailbox that a "write is done" may be sent to if necessary answer_mailbox_if_copy the mailbox that a "copy is done/failed" may be sent if necessary success whether the transfer succeeded failure_cause the failure cause (nullptr if success)
The documentation for this class was generated from the following file: