wrench::ComputeServiceStandardJobFailedMessage Class Reference

A message sent by a ComputeService when a StandardJob has failed to execute. More...

#include <ComputeServiceMessage.h>

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

Public Member Functions

 ComputeServiceStandardJobFailedMessage (std::shared_ptr< StandardJob >, std::shared_ptr< ComputeService >, std::shared_ptr< FailureCause > cause, 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< FailureCausecause
 The cause of the failure.
 
std::shared_ptr< ComputeServicecompute_service
 The compute service on which the job has failed.
 
std::shared_ptr< StandardJobjob
 The job that has failed.
 
- 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 failed to execute.

Constructor & Destructor Documentation

◆ ComputeServiceStandardJobFailedMessage()

wrench::ComputeServiceStandardJobFailedMessage::ComputeServiceStandardJobFailedMessage ( std::shared_ptr< StandardJob job,
std::shared_ptr< ComputeService cs,
std::shared_ptr< FailureCause cause,
double  payload 
)

Constructor.

Parameters
joba standard job that has failed
csthe compute service on which the job has failed
causethe cause of the failure
payloadmessage size in bytes
Exceptions
std::invalid_argument

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