nvflare.private.fed.simulator.simulator_app_runner module¶
- class SimulatorClientAppRunner(time_out=60.0)[source]¶
Bases:
ClientAppRunner
Init 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:
ClientRunManager
To 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:
ServerAppRunner
Init 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.