wrench::ComputeServiceStandardJobDoneMessage Class Reference

A message sent by a ComputeService when a StandardJob has completed execution. More...

#include <ComputeServiceMessage.h>

Inheritance diagram for wrench::ComputeServiceStandardJobDoneMessage:
wrench::ComputeServiceMessage wrench::ServiceMessage wrench::SimulationMessage

Public Member Functions

 ComputeServiceStandardJobDoneMessage (std::shared_ptr< StandardJob >, std::shared_ptr< ComputeService >, 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::shared_ptr< ComputeServicecompute_service
 The compute service on which the job has completed.
 
std::shared_ptr< StandardJobjob
 The job that has completed.
 
- 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::ComputeServiceMessage
 ComputeServiceMessage (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 ComputeService when a StandardJob has completed execution.

Constructor & Destructor Documentation

◆ ComputeServiceStandardJobDoneMessage()

wrench::ComputeServiceStandardJobDoneMessage::ComputeServiceStandardJobDoneMessage ( std::shared_ptr< StandardJob job,
std::shared_ptr< ComputeService cs,
double  payload 
)

Constructor.

Parameters
joba standard job that has completed
csthe compute service on which the job has completed
payloadmessage size in bytes
Exceptions
std::invalid_arguments

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