p2pfl.communication.protocols.protobuff.neighbors moduleΒΆ

Protocol agnostic neighbor management.

class p2pfl.communication.protocols.protobuff.neighbors.Neighbors(build_client_fn)[source]ΒΆ

Bases: NodeComponent

Neighbor management class for agnostic communication protocol.

add(*args: Any, **kwargs: Any) AnyΒΆ
Return type:

Any

clear_neighbors(*args: Any, **kwargs: Any) AnyΒΆ
Return type:

Any

exists(*args: Any, **kwargs: Any) AnyΒΆ
Return type:

Any

get(*args: Any, **kwargs: Any) AnyΒΆ
Return type:

Any

get_all(*args: Any, **kwargs: Any) AnyΒΆ
Return type:

Any

refresh_or_add(*args: Any, **kwargs: Any) AnyΒΆ
Return type:

Any

remove(*args: Any, **kwargs: Any) AnyΒΆ
Return type:

Any