p2pfl.communication.protocols.memory.server_singleton moduleΒΆ

Server singleton.

class p2pfl.communication.protocols.memory.server_singleton.ServerSingleton[source]ΒΆ

Bases: dict

Server singleton class.

classmethod reset_instance()[source]ΒΆ

Reset the instance of the server singleton.

Return type:

ServerSingleton

classmethod wait_for_termination()[source]ΒΆ

Blocks until the server is signaled to terminate.

Return type:

None