wrench::ActionExecutionServiceSubmitActionAnswerMessage

class ActionExecutionServiceSubmitActionAnswerMessage : public wrench::ActionExecutionServiceMessage

A message sent by an ActionExecutionService in answer to an Action submission.

Public Functions

ActionExecutionServiceSubmitActionAnswerMessage(bool success, std::shared_ptr<FailureCause> cause, double payload)

Constructor.

Parameters:
  • success – whether the action submission was a success

  • cause – the cause of the failure, if any

  • payload – the message size in bytes

Public Members

std::shared_ptr<FailureCause> cause

The failure cause, if any.

bool success

Whether the action submission was a success or not.