wrench::ActionExecutionServiceTerminateActionAnswerMessage

class ActionExecutionServiceTerminateActionAnswerMessage : public wrench::ActionExecutionServiceMessage

A message sent by an ActionExecutionService in response to an action termination.

Public Functions

ActionExecutionServiceTerminateActionAnswerMessage(bool success, std::shared_ptr<FailureCause> cause, sg_size_t payload)

Constructor.

Parameters:
  • success – the success status

  • cause – the failure cause, if any

  • payload – the message size in bytes

Public Members

std::shared_ptr<FailureCause> cause

The failure cause, if any

bool success

The success status.