nvflare.private.fed.client.admin_msg_sender module

This is the FLAdmin Client to send the request message to the admin server.

class AdminMessageSender(client_name, root_cert=None, ssl_cert=None, private_key=None, server_args=None, secure=False, is_multi_gpu=False, rank=0)[source]

Bases: Sender

AdminMessageSender to send the request message to the admin server.

To init the AdminMessageSender.

Parameters
  • client_name – client name

  • root_cert – root certificate

  • ssl_cert – SSL certificate

  • private_key – private key

  • server_args – server args

  • secure – True/False

  • is_multi_gpu – True/False

  • rank – local process rank

close()[source]

Call to close the sender.

Returns:

retrieve_requests() [<class 'nvflare.private.admin_defs.Message'>][source]

Send the message to retrieve pending requests from the Server.

Returns: list of messages.

send_reply(message: Message)[source]

Call to send the request message.

Parameters

message – request message

send_result(message: Message)[source]

Send the processor results to server.

Parameters

message – message