nvflare.private.fed.app.simulator.simulator_worker module

class ClientTaskWorker[source]

Bases: FLComponent

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.

create_client_engine(federated_client: FederatedClient, args, rank=0)[source]
create_client_runner(client)[source]

Create the ClientRunner for the client to run the ClientApp.

Parameters:

client – the client to run

do_one_task(client, args)[source]
release_resources(client)[source]
run(args, conn)[source]
main(args)[source]
parse_arguments()[source]