wrench::ServerlessComputeServiceFunctionRegisterRequestMessage

class ServerlessComputeServiceFunctionRegisterRequestMessage : public wrench::ServerlessComputeServiceMessage

A message sent to a ServerlessComputeService to register a function.

Public Functions

ServerlessComputeServiceFunctionRegisterRequestMessage(S4U_CommPort *answer_commport, std::shared_ptr<Function> function, double time_limit, sg_size_t disk_space_limit_in_bytes, sg_size_t ram_limit_in_bytes, sg_size_t ingress_in_bytes, sg_size_t egress_in_bytes, sg_size_t payload)

Constructor.

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

  • function – the function to register

  • time_limit – time limit for execution

  • disk_space_limit_in_bytes – disk space limit for the function

  • ram_limit_in_bytes – RAM limit for the function

  • ingress_in_bytes – ingress data limit

  • egress_in_bytes – egress data limit

  • payload – message size in bytes

Public Members

S4U_CommPort *answer_commport

The commport_name to answer to.

sg_size_t disk_space_limit_in_bytes

Disk space limit for the function in bytes.

sg_size_t egress_in_bytes

Egress data limit in bytes.

std::shared_ptr<Function> function

The function to register.

sg_size_t ingress_in_bytes

Ingress data limit in bytes.

sg_size_t ram_limit_in_bytes

RAM limit for the function in bytes.

double time_limit_in_seconds

The time limit for execution.