Base pb2 grpc
Client and server classes corresponding to protobuf-defined services.
Base
¶
Bases: object
Missing associated documentation comment in .proto file.
BaseServicer
¶
Bases: object
Missing associated documentation comment in .proto file.
callback(request, context)
¶
Use this function to wait for server information.
Source code in iflearner/communication/base/base_pb2_grpc.py
post(request, context)
¶
Use this function to transport information asynchronously.
Source code in iflearner/communication/base/base_pb2_grpc.py
send(request, context)
¶
Use this function to transport information synchronously.
Source code in iflearner/communication/base/base_pb2_grpc.py
BaseStub(channel)
¶
Bases: object
Missing associated documentation comment in .proto file.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
channel |
A grpc.Channel. |
required |