wrench::BatchComputeServiceJobRequestMessage Class Reference

A message sent to a BatchComputeService to submit a batch job for execution. More...

#include <BatchComputeServiceMessage.h>

Inheritance diagram for wrench::BatchComputeServiceJobRequestMessage:
wrench::BatchComputeServiceMessage wrench::ComputeServiceMessage wrench::ServiceMessage wrench::SimulationMessage

Public Member Functions

 BatchComputeServiceJobRequestMessage (std::string answer_mailbox, std::shared_ptr< BatchJob > job, 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::string answer_mailbox
 The mailbox to answer to.
 
std::shared_ptr< BatchJobjob
 The batch job.
 
- 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::BatchComputeServiceMessage
 BatchComputeServiceMessage (std::string name, double payload)
 Constructor. More...
 
- 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 to a BatchComputeService to submit a batch job for execution.

Constructor & Destructor Documentation

◆ BatchComputeServiceJobRequestMessage()

wrench::BatchComputeServiceJobRequestMessage::BatchComputeServiceJobRequestMessage ( std::string  answer_mailbox,
std::shared_ptr< BatchJob job,
double  payload 
)

Constructor.

Parameters
answer_mailboxthe mailbox to which the answer should be sent back
jobthe batch job
payloadthe message size in bytes
Exceptions
std::invalid_argument

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