Home
last modified time | relevance | path

Searched refs:handler_call_details (Results 1 – 15 of 15) sorted by relevance

/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_exit_scenarios.py125 def service(self, handler_call_details): argument
126 if handler_call_details.method == UNARY_UNARY:
128 elif handler_call_details.method == UNARY_STREAM:
130 elif handler_call_details.method == STREAM_UNARY:
132 elif handler_call_details.method == STREAM_STREAM:
134 elif handler_call_details.method == PARTIAL_UNARY_STREAM:
136 elif handler_call_details.method == PARTIAL_STREAM_UNARY:
138 elif handler_call_details.method == PARTIAL_STREAM_STREAM:
D_empty_message_test.py74 def service(self, handler_call_details): argument
75 if handler_call_details.method == _UNARY_UNARY:
77 elif handler_call_details.method == _UNARY_STREAM:
79 elif handler_call_details.method == _STREAM_UNARY:
81 elif handler_call_details.method == _STREAM_STREAM:
D_interceptor_test.py134 def service(self, handler_call_details): argument
135 if handler_call_details.method == _UNARY_UNARY:
139 elif handler_call_details.method == _UNARY_STREAM:
143 elif handler_call_details.method == _STREAM_UNARY:
147 elif handler_call_details.method == _STREAM_STREAM:
228 def intercept_service(self, continuation, handler_call_details): argument
230 return continuation(handler_call_details)
295 def intercept_service(self, continuation, handler_call_details): argument
296 return self._fn(continuation, handler_call_details)
301 def intercept_service(continuation, handler_call_details): argument
[all …]
D_invocation_defects_test.py134 def service(self, handler_call_details): argument
135 if handler_call_details.method == _UNARY_UNARY:
139 elif handler_call_details.method == _UNARY_STREAM:
143 elif handler_call_details.method == _STREAM_UNARY:
147 elif handler_call_details.method == _STREAM_STREAM:
150 elif handler_call_details.method == _DEFECTIVE_GENERIC_RPC_HANDLER:
D_metadata_test.py162 def service(self, handler_call_details): argument
163 if handler_call_details.method == _UNARY_UNARY:
165 elif handler_call_details.method == _UNARY_STREAM:
167 elif handler_call_details.method == _STREAM_UNARY:
169 elif handler_call_details.method == _STREAM_STREAM:
D_compression_test.py62 def service(self, handler_call_details): argument
63 if handler_call_details.method == _UNARY_UNARY:
65 elif handler_call_details.method == _STREAM_STREAM:
D_resource_exhausted_test.py121 def service(self, handler_call_details): argument
122 if handler_call_details.method == _UNARY_UNARY:
124 elif handler_call_details.method == _UNARY_STREAM:
126 elif handler_call_details.method == _STREAM_UNARY:
128 elif handler_call_details.method == _STREAM_STREAM:
D_server_test.py23 def service(self, handler_call_details): argument
D_rpc_test.py138 def service(self, handler_call_details): argument
139 if handler_call_details.method == _UNARY_UNARY:
143 elif handler_call_details.method == _UNARY_STREAM:
147 elif handler_call_details.method == _STREAM_UNARY:
151 elif handler_call_details.method == _STREAM_STREAM:
D_channel_close_test.py47 def service(self, handler_call_details): argument
/external/grpc-grpc/examples/python/interceptors/headers/
Drequest_header_validator_interceptor.py34 def intercept_service(self, continuation, handler_call_details): argument
36 self._value) in handler_call_details.invocation_metadata:
37 return continuation(handler_call_details)
/external/grpc-grpc/src/python/grpcio/grpc/beta/
D_server_adaptations.py332 def service(self, handler_call_details): argument
334 handler_call_details.method)
338 handler_call_details.method),
340 handler_call_details.method))
/external/grpc-grpc/src/python/grpcio/grpc/
D_utilities.py56 def service(self, handler_call_details): argument
57 return self._method_handlers.get(handler_call_details.method)
D_server.py561 def query_handlers(handler_call_details): argument
563 method_handler = generic_handler.service(handler_call_details)
568 handler_call_details = _HandlerCallDetails(
574 handler_call_details)
576 return query_handlers(handler_call_details)
D__init__.py1126 def service(self, handler_call_details): argument
1169 def intercept_service(self, continuation, handler_call_details): argument