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

A message sent by a BatschedNetworkListener to a Batsched-enabled BatchComputeService to tell it to start a job execution, passing it the JSON reply received from Batsched. More...

#include <BatchComputeServiceMessage.h>

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

Public Member Functions

 BatchExecuteJobFromBatSchedMessage (simgrid::s4u::Mailbox *answer_mailbox, std::string batsched_decision_reply, 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

simgrid::s4u::Mailbox * answer_mailbox
 The mailbox to answer to.
 
std::string batsched_decision_reply
 The decision reply from Batsched.
 
- Public Attributes inherited from wrench::SimulationMessage
double payload
 The message name. More...
 

Additional Inherited Members

- Protected Member Functions inherited from wrench::BatchComputeServiceMessage
 BatchComputeServiceMessage (double payload)
 Constructor. More...
 
- 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 BatschedNetworkListener to a Batsched-enabled BatchComputeService to tell it to start a job execution, passing it the JSON reply received from Batsched.

Constructor & Destructor Documentation

◆ BatchExecuteJobFromBatSchedMessage()

wrench::BatchExecuteJobFromBatSchedMessage::BatchExecuteJobFromBatSchedMessage ( simgrid::s4u::Mailbox *  answer_mailbox,
std::string  batsched_decision_reply,
double  payload 
)

Constructor.

Parameters
answer_mailboxthe mailbox to reply to
batsched_decision_replythe decision reply from Batsched
payloadthe message size in bytes
Exceptions
std::invalid_argument

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