wrench::StorageServiceFileContentChunkMessage Class Reference

A message sent/received by a StorageService that has a file size as a payload. More...

#include <StorageServiceMessage.h>

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

Public Member Functions

 StorageServiceFileContentChunkMessage (WorkflowFile *file, unsigned long chunk_size, bool last_chunk)
 Constructor. More...
 
- Public Member Functions inherited from wrench::SimulationMessage
 SimulationMessage (std::string name, double payload)
 Constructor. More...
 
virtual std::string getName ()
 Retrieve the message name. More...
 

Public Attributes

WorkflowFilefile
 The file.
 
bool last_chunk
 Whether this is the last file chunk.
 
- Public Attributes inherited from wrench::SimulationMessage
std::string name
 The message name.
 
double payload
 The message size in bytes.
 

Additional Inherited Members

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

Detailed Description

A message sent/received by a StorageService that has a file size as a payload.

Constructor & Destructor Documentation

◆ StorageServiceFileContentChunkMessage()

wrench::StorageServiceFileContentChunkMessage::StorageServiceFileContentChunkMessage ( WorkflowFile file,
unsigned long  chunk_size,
bool  last_chunk 
)
explicit

Constructor.

Parameters
filethe workflow data file to which this chunk belongs
chunk_sizethe chunk size
last_chunkwhether this is the last chunk in the file

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