This module implements the services the PET protocol provides.
There are two main types of services:
- the services for fetching data broadcasted by the state machine:
MaskLengthService: for fetching the length of the model
ModelService: for fetching the last available global model
RoundParamsService: for fetching the current round parameters
ScalarService: for fetching the scalar used for aggregation
SeedDictService: for fetching the seed dictionary
SumDictService: for fetching the sum dictionary
- the services for handling PET messages from the participant:
Fetcher trait provides a unified interface for the first
category of services. A
Fetcher is a service that provides all
the subservices listed above. The
PetMessageHandler trait is
an interface for the second category of services.
This module provides the services for serving data.
This module provides the services for processing PET messages.