WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | Public Attributes | List of all members
wrench::StorageServiceFileWriteRequestMessage Class Reference

A message sent to a StorageService to write a file. More...

#include <StorageServiceMessage.h>

Inheritance diagram for wrench::StorageServiceFileWriteRequestMessage:
wrench::StorageServiceMessage wrench::ServiceMessage wrench::SimulationMessage

Public Member Functions

 StorageServiceFileWriteRequestMessage (simgrid::s4u::Mailbox *answer_mailbox, std::shared_ptr< DataFile >file, std::shared_ptr< FileLocation > location, unsigned long buffer_size, double payload)
 Constructor. More...
- Public Member Functions inherited from wrench::SimulationMessage
 SimulationMessage (double payload)
 Constructor. More...
virtual std::string getName ()
 Retrieve the message name. More...

Public Attributes

simgrid::s4u::Mailbox * answer_mailbox
 Mailbox to which the answer message should be sent.
unsigned long buffer_size
 The buffer size to use.
std::shared_ptr< DataFilefile
 The file to write.
std::shared_ptr< FileLocationlocation
 The location to write the file to.
- Public Attributes inherited from wrench::SimulationMessage
double payload
 The message name. More...

Additional Inherited Members

- Protected Member Functions inherited from wrench::StorageServiceMessage
 StorageServiceMessage (double payload)
 Constructor. More...
- Protected Member Functions inherited from wrench::ServiceMessage
 ServiceMessage (double payload)
 Constructor. More...

Detailed Description

A message sent to a StorageService to write a file.

Constructor & Destructor Documentation

◆ StorageServiceFileWriteRequestMessage()

wrench::StorageServiceFileWriteRequestMessage::StorageServiceFileWriteRequestMessage ( simgrid::s4u::Mailbox *  answer_mailbox,
std::shared_ptr< DataFile file,
std::shared_ptr< FileLocation location,
unsigned long  buffer_size,
double  payload 


answer_mailboxthe mailbox to which to send the answer
filethe file
locationthe file location
buffer_sizethe buffer size
payloadthe message size in bytes

The documentation for this class was generated from the following files: