WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | Public Attributes | List of all members
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 (std::shared_ptr< DataFile >file, unsigned long chunk_size, bool last_chunk)
 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

std::shared_ptr< DataFilefile
 The file.
 
bool last_chunk
 Whether this is the last file chunk.
 
- 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/received by a StorageService that has a file size as a payload.

Constructor & Destructor Documentation

◆ StorageServiceFileContentChunkMessage()

wrench::StorageServiceFileContentChunkMessage::StorageServiceFileContentChunkMessage ( std::shared_ptr< DataFile 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: