wrench::BatchExecuteJobFromBatSchedMessage

class BatchExecuteJobFromBatSchedMessage : public wrench::BatchComputeServiceMessage

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.

Public Functions

BatchExecuteJobFromBatSchedMessage(S4U_CommPort *answer_commport, std::string batsched_decision_reply, double payload)

Constructor.

Parameters:
  • answer_commport – the commport to reply to

  • batsched_decision_reply – the decision reply from Batsched

  • payload – the message size in bytes

Throws:

std::invalid_argument

Public Members

S4U_CommPort *answer_commport

The commport_name to answer to.

std::string batsched_decision_reply

The decision reply from Batsched.