WRENCH  1.11
Cyberinfrastructure Simulation Workbench
Overview Installation Getting Started WRENCH 101 WRENCH 102
Public Member Functions | Public Attributes | List of all members
wrench::ComputeServiceTerminateCompoundJobAnswerMessage Class Reference

A message sent by a ComputeService in answer to a CompoundJob termination request. More...

#include <ComputeServiceMessage.h>

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

Public Member Functions

 ComputeServiceTerminateCompoundJobAnswerMessage (std::shared_ptr< CompoundJob >, std::shared_ptr< ComputeService >, bool success, std::shared_ptr< FailureCause > failure_cause, double payload)
 Constructor. More...
- Public Member Functions inherited from wrench::SimulationMessage
 SimulationMessage (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 had been submitted.
std::shared_ptr< FailureCausefailure_cause
 The cause of the failure, or nullptr on success.
std::shared_ptr< CompoundJobjob
 The standard job to terminate.
bool success
 Whether to job termination was successful.
- Public Attributes inherited from wrench::SimulationMessage
double payload
 The message name. More...

Additional Inherited Members

- Protected Member Functions inherited from wrench::ComputeServiceMessage
 ComputeServiceMessage (double payload)
 Constructor. More...
- Protected Member Functions inherited from wrench::ServiceMessage
 ServiceMessage (double payload)
 Constructor. More...

Detailed Description

A message sent by a ComputeService in answer to a CompoundJob termination request.

Constructor & Destructor Documentation

◆ ComputeServiceTerminateCompoundJobAnswerMessage()

wrench::ComputeServiceTerminateCompoundJobAnswerMessage::ComputeServiceTerminateCompoundJobAnswerMessage ( std::shared_ptr< CompoundJob job,
std::shared_ptr< ComputeService compute_service,
bool  success,
std::shared_ptr< FailureCause failure_cause,
double  payload 


joba compound job whose termination was requested
compute_servicethe compute service that was executing the standard job
successtrue on success, false otherwise
failure_causecause of the failure (nullptr if success == true)
payloadmessage size in bytes

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