p2pfl.communication.protocols.protobuff.grpc packageΒΆ

GRPC implementation of the CommunicationProtocol.

class p2pfl.communication.protocols.protobuff.grpc.GrpcCommunicationProtocol(commands=None)[source]ΒΆ

Bases: ProtobuffCommunicationProtocol

GRPC communication protocol.

Parameters:

commands (list[Command] | None)

bluid_client(*args, **kwargs)[source]ΒΆ

Build client function.

Return type:

GrpcClient

build_server(*args, **kwargs)[source]ΒΆ

Build server function.

Return type:

GrpcServer

SubmodulesΒΆ