nvflare.private.fed.client.command_agent module

class CommandAgent(federated_client, listen_port, client_runner)[source]

Bases: object

To init the CommandAgent.

Parameters
  • federated_client – FL client object

  • listen_port – port to listen the command

  • client_runner – ClientRunner object

execute_command(conn, engine)[source]
shutdown()[source]
start(fl_ctx: FLContext)[source]