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

A message sent to a FileRegistryService to request the addition of an entry. More...

#include <FileRegistryMessage.h>

Inheritance diagram for wrench::FileRegistryAddEntryRequestMessage:
wrench::FileRegistryMessage wrench::ServiceMessage wrench::SimulationMessage

Public Member Functions

 FileRegistryAddEntryRequestMessage (simgrid::s4u::Mailbox *answer_mailbox, std::shared_ptr< DataFile >file, std::shared_ptr< FileLocation > location, 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
 The mailbox to which the answer message should be sent.
 
std::shared_ptr< DataFilefile
 The file for which to add an entry.
 
std::shared_ptr< FileLocationlocation
 The location in that entry.
 
- Public Attributes inherited from wrench::SimulationMessage
double payload
 The message name. More...
 

Additional Inherited Members

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

Detailed Description

A message sent to a FileRegistryService to request the addition of an entry.

Constructor & Destructor Documentation

◆ FileRegistryAddEntryRequestMessage()

wrench::FileRegistryAddEntryRequestMessage::FileRegistryAddEntryRequestMessage ( simgrid::s4u::Mailbox *  answer_mailbox,
std::shared_ptr< DataFile file,
std::shared_ptr< FileLocation location,
double  payload 
)

Constructor.

Parameters
answer_mailboxthe mailbox to which the answer message should be sent
filethe file for which an entry should be added
locationthe location for the new entry
payloadthe message size in bytes

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