p2pfl.communication.protocols.protobuff.memory.server moduleΒΆ
In-memory server.
- class p2pfl.communication.protocols.protobuff.memory.server.AddressCounter[source]ΒΆ
Bases:
objectSingleton address counter with efficient address tracking.
- class p2pfl.communication.protocols.protobuff.memory.server.MemoryServer(gossiper, neighbors, commands=None)[source]ΒΆ
Bases:
ProtobuffServerImplementation of the server side logic of Memory communication protocol.
- Parameters:
- is_running()[source]ΒΆ
Check if the server is running.
- Return type:
bool- Returns:
True if the server is running, False otherwise.