wrench::ComputeServiceSubmitPilotJobAnswerMessage Class Reference

A message sent by a ComputeService in answer to a PilotJob submission request. More...

#include <ComputeServiceMessage.h>

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

Public Member Functions

 ComputeServiceSubmitPilotJobAnswerMessage (PilotJob *, std::shared_ptr< ComputeService >, bool success, 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< ComputeServicecompute_service
 The compute service to which the job was submitted.
 
std::shared_ptr< FailureCausefailure_cause
 The cause of the failure, or nullptr on success.
 
PilotJobjob
 The submitted pilot job.
 
bool success
 Whether the job submission was successful or not.
 
- 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 in answer to a PilotJob submission request.

Constructor & Destructor Documentation

◆ ComputeServiceSubmitPilotJobAnswerMessage()

wrench::ComputeServiceSubmitPilotJobAnswerMessage::ComputeServiceSubmitPilotJobAnswerMessage ( PilotJob job,
std::shared_ptr< ComputeService compute_service,
bool  success,
std::shared_ptr< FailureCause failure_cause,
double  payload 
)

Constructor.

Parameters
jobthe pilot job
compute_servicethe compute service to which the job had been submitted
successwhether the submission was successful or not
failure_causecause of the failure (nullptr if success == true)
payloadmessage size in bytes
Exceptions
std::invalid_argument

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