Public Member Functions | |
def | GetFeature (self, request, context) |
def | GetFeature (self, request, context) |
def | ListFeatures (self, request, context) |
def | ListFeatures (self, request, context) |
def | RecordRoute (self, request_iterator, context) |
def | RecordRoute (self, request_iterator, context) |
def | RouteChat (self, request_iterator, context) |
def | RouteChat (self, request_iterator, context) |
Interface exported by the server.
Definition at line 39 of file multiplex/route_guide_pb2_grpc.py.
def route_guide_pb2_grpc.RouteGuideServicer.GetFeature | ( | self, | |
request, | |||
context | |||
) |
A simple RPC. Obtains the feature at a given position. A feature with an empty name is returned if there's no feature at the given position.
Reimplemented in multiplex_server._RouteGuideServicer, and route_guide_server.RouteGuideServicer.
Definition at line 43 of file multiplex/route_guide_pb2_grpc.py.
def route_guide_pb2_grpc.RouteGuideServicer.GetFeature | ( | self, | |
request, | |||
context | |||
) |
A simple RPC. Obtains the feature at a given position. A feature with an empty name is returned if there's no feature at the given position.
Reimplemented in multiplex_server._RouteGuideServicer, and route_guide_server.RouteGuideServicer.
Definition at line 43 of file route_guide/route_guide_pb2_grpc.py.
def route_guide_pb2_grpc.RouteGuideServicer.ListFeatures | ( | self, | |
request, | |||
context | |||
) |
A server-to-client streaming RPC. Obtains the Features available within the given Rectangle. Results are streamed rather than returned at once (e.g. in a response message with a repeated field), as the rectangle may cover a large area and contain a huge number of features.
Reimplemented in multiplex_server._RouteGuideServicer, and route_guide_server.RouteGuideServicer.
Definition at line 55 of file multiplex/route_guide_pb2_grpc.py.
def route_guide_pb2_grpc.RouteGuideServicer.ListFeatures | ( | self, | |
request, | |||
context | |||
) |
A server-to-client streaming RPC. Obtains the Features available within the given Rectangle. Results are streamed rather than returned at once (e.g. in a response message with a repeated field), as the rectangle may cover a large area and contain a huge number of features.
Reimplemented in multiplex_server._RouteGuideServicer, and route_guide_server.RouteGuideServicer.
Definition at line 55 of file route_guide/route_guide_pb2_grpc.py.
def route_guide_pb2_grpc.RouteGuideServicer.RecordRoute | ( | self, | |
request_iterator, | |||
context | |||
) |
A client-to-server streaming RPC. Accepts a stream of Points on a route being traversed, returning a RouteSummary when traversal is completed.
Reimplemented in multiplex_server._RouteGuideServicer, and route_guide_server.RouteGuideServicer.
Definition at line 67 of file route_guide/route_guide_pb2_grpc.py.
def route_guide_pb2_grpc.RouteGuideServicer.RecordRoute | ( | self, | |
request_iterator, | |||
context | |||
) |
A client-to-server streaming RPC. Accepts a stream of Points on a route being traversed, returning a RouteSummary when traversal is completed.
Reimplemented in multiplex_server._RouteGuideServicer, and route_guide_server.RouteGuideServicer.
Definition at line 67 of file multiplex/route_guide_pb2_grpc.py.
def route_guide_pb2_grpc.RouteGuideServicer.RouteChat | ( | self, | |
request_iterator, | |||
context | |||
) |
A Bidirectional streaming RPC. Accepts a stream of RouteNotes sent while a route is being traversed, while receiving other RouteNotes (e.g. from other users).
Reimplemented in multiplex_server._RouteGuideServicer, and route_guide_server.RouteGuideServicer.
Definition at line 77 of file multiplex/route_guide_pb2_grpc.py.
def route_guide_pb2_grpc.RouteGuideServicer.RouteChat | ( | self, | |
request_iterator, | |||
context | |||
) |
A Bidirectional streaming RPC. Accepts a stream of RouteNotes sent while a route is being traversed, while receiving other RouteNotes (e.g. from other users).
Reimplemented in multiplex_server._RouteGuideServicer, and route_guide_server.RouteGuideServicer.
Definition at line 77 of file route_guide/route_guide_pb2_grpc.py.