p2pfl.communication.protocols.protobuff.memory.server moduleΒΆ
In-memory server.
- class p2pfl.communication.protocols.protobuff.memory.server.AddressCounter[source]ΒΆ
Bases:
object
Singleton address counter with efficient address tracking.
- class p2pfl.communication.protocols.protobuff.memory.server.MemoryServer(gossiper, neighbors, commands=None)[source]ΒΆ
Bases:
ProtobuffServer
Implementation of the server side logic of Memory communication protocol.
- Parameters:
- is_running(*args: Any, **kwargs: Any) Any ΒΆ
- Return type:
Any
- start(*args: Any, **kwargs: Any) Any ΒΆ
- Return type:
Any
- stop(*args: Any, **kwargs: Any) Any ΒΆ
- Return type:
Any
- wait_for_termination(*args: Any, **kwargs: Any) Any ΒΆ
- Return type:
Any