wrench::ComputeServiceSubmitStandardJobRequestMessage Class Reference

A message sent to a ComputeService to submit a StandardJob for execution. More...

#include <ComputeServiceMessage.h>

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

Public Member Functions

 ComputeServiceSubmitStandardJobRequestMessage (const std::string answer_mailbox, std::shared_ptr< StandardJob >, const std::map< std::string, std::string > service_specific_args, 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 which the answer message should be sent.
 
std::shared_ptr< StandardJobjob
 The submitted job.
 
std::map< std::string, std::string > service_specific_args
 Service specific arguments.
 
- 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 to a ComputeService to submit a StandardJob for execution.

Constructor & Destructor Documentation

◆ ComputeServiceSubmitStandardJobRequestMessage()

wrench::ComputeServiceSubmitStandardJobRequestMessage::ComputeServiceSubmitStandardJobRequestMessage ( const std::string  answer_mailbox,
std::shared_ptr< StandardJob job,
const std::map< std::string, std::string >  service_specific_args,
double  payload 
)

Constructor.

Parameters
answer_mailboxmailbox to which the answer message should be sent
joba standard job submitted for execution
service_specific_argsa map of extra arguments (each specified by a name and value, both strings) required by some services
payloadmessage size in bytes
Exceptions
std::invalid_arguments

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