wrench::StorageServiceFreeSpaceAnswerMessage Class Reference

A message sent by a StorageService in answer to a free space enquiry. More...

#include <StorageServiceMessage.h>

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

Public Member Functions

 StorageServiceFreeSpaceAnswerMessage (std::map< std::string, double > free_space, double payload)
 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

std::map< std::string, double > free_space
 The amount of free space in bytes for each mount point, in a map.
 
- 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 by a StorageService in answer to a free space enquiry.

Constructor & Destructor Documentation

◆ StorageServiceFreeSpaceAnswerMessage()

wrench::StorageServiceFreeSpaceAnswerMessage::StorageServiceFreeSpaceAnswerMessage ( std::map< std::string, double >  free_space,
double  payload 
)

Constructor.

Parameters
free_spacethe free space, in bytes, at each mount point, as a map
payloadthe message size in bytes
Exceptions
std::invalid_argument

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