nvflare.private.fed.simulator.simulator_app_runner module
- class SimulatorClientAppRunner(time_out=60.0)[source]
Bases:
ClientAppRunnerInit FLComponent.
The FLComponent is the base class of all FL Components. (executors, controllers, responders, filters, aggregators, and widgets are all FLComponents)
FLComponents have the capability to handle and fire events and contain various methods for logging.
- class SimulatorClientRunManager(client_name: str, job_id: str, workspace: Workspace, client: FederatedClient, components: Dict[str, FLComponent], handlers: List[FLComponent] | None = None, conf: ClientJsonConfigurator | None = None)[source]
Bases:
ClientRunManagerTo init the ClientRunManager.
- Parameters:
client_name – client name
job_id – job id
workspace – workspace
client – FL client object
components – available FL components
handlers – available handlers.
conf – ClientJsonConfigurator object
- class SimulatorServerAppRunner(server)[source]
Bases:
ServerAppRunnerInit FLComponent.
The FLComponent is the base class of all FL Components. (executors, controllers, responders, filters, aggregators, and widgets are all FLComponents)
FLComponents have the capability to handle and fire events and contain various methods for logging.