10 #ifndef WRENCH_FILETRANSFERTHREADMESSAGE_H
11 #define WRENCH_FILETRANSFERTHREADMESSAGE_H
15 #include "wrench/services/ServiceMessage.h"
16 #include "wrench/failure_causes/FailureCause.h"
17 #include "wrench/services/file_registry/FileRegistryService.h"
18 #include "wrench/simulation/SimulationTimestampTypes.h"
19 #include "wrench/simulation/Simulation.h"
20 #include "wrench/simulation/SimulationOutput.h"
21 #include "wrench/services/storage/storage_helpers/FileTransferThread.h"
65 std::shared_ptr<DataFile>
file,
88 std::shared_ptr<DataFile>
file;
120 #endif //WRENCH_FILETRANSFERTHREADMESSAGE_H
simgrid::s4u::Mailbox * dst_mailbox
Destination mailbox (or "" if destination wasn't a mailbox)
Definition: FileTransferThreadMessage.h:96
Top-level class for messages received/sent by a DataCommunicationThread.
Definition: FileTransferThreadMessage.h:32
std::shared_ptr< FailureCause > failure_cause
The failure cause is case of a failure.
Definition: FileTransferThreadMessage.h:109
Top-level class for messages received/sent by a Service.
Definition: ServiceMessage.h:27
simgrid::s4u::Mailbox * answer_mailbox_if_read
If this was a file read, the mailbox to which an answer should be send.
Definition: FileTransferThreadMessage.h:101
Definition: Action.cpp:28
FileTransferThreadNotificationMessage(std::shared_ptr< FileTransferThread > file_transfer_thread, std::shared_ptr< DataFile >file, simgrid::s4u::Mailbox *src_mailbox, std::shared_ptr< FileLocation > src_location, simgrid::s4u::Mailbox *dst_mailbox, std::shared_ptr< FileLocation > dst_location, simgrid::s4u::Mailbox *answer_mailbox_if_read, simgrid::s4u::Mailbox *answer_mailbox_if_write, simgrid::s4u::Mailbox *answer_mailbox_if_copy, bool success, std::shared_ptr< FailureCause > failure_cause)
Constructor.
Definition: FileTransferThreadMessage.h:64
std::shared_ptr< FileLocation > dst_location
Destination location (or nullptr if source wasn't a location)
Definition: FileTransferThreadMessage.h:98
simgrid::s4u::Mailbox * answer_mailbox_if_copy
If this was a file copy, the mailbox to which an answer should be send.
Definition: FileTransferThreadMessage.h:105
double payload
The message name.
Definition: SimulationMessage.h:40
simgrid::s4u::Mailbox * answer_mailbox_if_write
If this was a file write, the mailbox to which an answer should be send.
Definition: FileTransferThreadMessage.h:103
FileTransferThreadMessage(double payload)
Constructor.
Definition: FileTransferThreadMessage.h:39
std::shared_ptr< FileTransferThread > file_transfer_thread
File transfer thread that sent this message.
Definition: FileTransferThreadMessage.h:86
bool success
Whether the transfer succeeded or not.
Definition: FileTransferThreadMessage.h:107
std::shared_ptr< FileLocation > src_location
Source location (or nullptr if source wasn't a location)
Definition: FileTransferThreadMessage.h:93
A message sent to by a FileTransferThread to report on success/failure of the transfer.
Definition: FileTransferThreadMessage.h:47
simgrid::s4u::Mailbox * src_mailbox
Source mailbox (or "" if source wasn't a mailbox)
Definition: FileTransferThreadMessage.h:91
std::shared_ptr< DataFile > file
File that was being communicated.
Definition: FileTransferThreadMessage.h:88