wrench::ServerlessComputeServiceFunctionInvocationRequestMessage

class ServerlessComputeServiceFunctionInvocationRequestMessage : public wrench::ServerlessComputeServiceMessage

A message sent to a ServerlessComputeService to invoke a function.

Public Functions

ServerlessComputeServiceFunctionInvocationRequestMessage(S4U_CommPort *answer_commport, const std::shared_ptr<RegisteredFunction> &registered_function, const std::shared_ptr<FunctionInput> &function_input, S4U_CommPort *notify_commport, sg_size_t payload)

Constructor.

Parameters:
  • answer_commport – commport to which the answer message should be sent

  • registered_function – the (registered) function to invoke

  • function_input – input arguments passed to the function

  • notify_commport – commport to notify

  • payload – message size in bytes

Public Members

S4U_CommPort *answer_commport

The commport_name to answer to.

std::shared_ptr<FunctionInput> function_input

S4U_CommPort *notify_commport

The commport_name to send notifications to.

std::shared_ptr<RegisteredFunction> registered_function

The function to invoke.