A message sent by a ComputeService in answer to a PilotJob submission request. More...
#include <ComputeServiceMessage.h>
Public Member Functions | |
ComputeServiceSubmitPilotJobAnswerMessage (std::shared_ptr< PilotJob >, std::shared_ptr< ComputeService >, bool success, std::shared_ptr< FailureCause > cause, double payload) | |
Constructor. More... | |
Public Attributes | |
std::shared_ptr< ComputeService > | compute_service |
The compute service to which the job was submitted. | |
std::shared_ptr< FailureCause > | failure_cause |
The cause of the failure, or nullptr on success. | |
std::shared_ptr< PilotJob > | job |
The submitted pilot job. | |
bool | success |
Whether the job submission was successful or not. | |
Additional Inherited Members |
Detailed Description
A message sent by a ComputeService in answer to a PilotJob submission request.
Constructor & Destructor Documentation
◆ ComputeServiceSubmitPilotJobAnswerMessage()
wrench::ComputeServiceSubmitPilotJobAnswerMessage::ComputeServiceSubmitPilotJobAnswerMessage | ( | std::shared_ptr< PilotJob > | job, |
std::shared_ptr< ComputeService > | compute_service, | ||
bool | success, | ||
std::shared_ptr< FailureCause > | failure_cause, | ||
double | payload | ||
) |
Constructor.
- Parameters
-
job the pilot job compute_service the compute service to which the job had been submitted success whether the submission was successful or not failure_cause cause of the failure (nullptr if success == true) payload message size in bytes
- Exceptions
-
std::invalid_argument
The documentation for this class was generated from the following files:
- ComputeServiceMessage.h
- ComputeServiceMessage.cpp