FileTransferThreadMessage.h
std::shared_ptr< FailureCause > failure_cause
The failure cause is case of a failure.
Definition: FileTransferThreadMessage.h:113
Top-level class for messages received/sent by a DataCommunicationThread.
Definition: FileTransferThreadMessage.h:34
WorkflowFile * file
File that was being communicated.
Definition: FileTransferThreadMessage.h:92
double payload
The message size in bytes.
Definition: SimulationMessage.h:39
A data file used/produced by a WorkflowTask in a Workflow.
Definition: WorkflowFile.h:26
std::string answer_mailbox_if_copy
If this was a file copy, the mailbox to which an answer should be send.
Definition: FileTransferThreadMessage.h:109
std::shared_ptr< FileLocation > dst_location
Destination location (or nullptr if source wasn't a location)
Definition: FileTransferThreadMessage.h:102
A message sent to by a FileTransferThread to report on success/failure of the transfer.
Definition: FileTransferThreadMessage.h:49
SimulationTimestampFileCopyStart * start_time_stamp
A start time stamp.
Definition: FileTransferThreadMessage.h:115
Top-level class for messages received/sent by a Service.
Definition: ServiceMessage.h:27
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, SimulationTimestampFileCopyStart *start_time_stamp)
Constructor.
Definition: FileTransferThreadMessage.h:67
std::string src_mailbox
Source mailbox (or "" if source wasn't a mailbox)
Definition: FileTransferThreadMessage.h:95
A simulation timestamp class for file copy start times.
Definition: SimulationTimestampTypes.h:186
std::string dst_mailbox
Destination mailbox (or "" if destination wasn't a mailbox)
Definition: FileTransferThreadMessage.h:100
std::string answer_mailbox_if_read
If this was a file read, the mailbox to which an answer should be send.
Definition: FileTransferThreadMessage.h:105
std::shared_ptr< FileTransferThread > file_transfer_thread
File transfer thread that sent this message.
Definition: FileTransferThreadMessage.h:90
FileTransferThreadMessage(std::string name, double payload)
Constructor.
Definition: FileTransferThreadMessage.h:41
std::shared_ptr< FileLocation > src_location
Source location (or nullptr if source wasn't a location)
Definition: FileTransferThreadMessage.h:97
bool success
Whether the transfer succeeded or not.
Definition: FileTransferThreadMessage.h:111
Definition: Alarm.cpp:19
std::string answer_mailbox_if_write
If this was a file write, the mailbox to which an answer should be send.
Definition: FileTransferThreadMessage.h:107