A message sent to by a FileTransferThread to report on success/failure of the transfer.
More...
#include <FileTransferThreadMessage.h>
|
| 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. More...
|
|
| SimulationMessage (double payload) |
| Constructor. More...
|
|
virtual std::string | getName () |
| Retrieve the message name. More...
|
|
A message sent to by a FileTransferThread to report on success/failure of the transfer.
◆ FileTransferThreadNotificationMessage()
wrench::FileTransferThreadNotificationMessage::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 |
|
) |
| |
|
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: