Home
last modified time | relevance | path

Searched refs:add_callback (Results 1 – 17 of 17) sorted by relevance

/third_party/grpc/src/python/grpcio_testing/grpc_testing/_channel/
D_invocation.py38 return handler.add_callback(callback)
74 def add_callback(self, callback): member in _Call
104 def add_callback(self, callback): member in _RpcErrorCall
183 if not handler.add_callback(adapted_callback):
223 def add_callback(self, callback): member in _FutureCall
311 def add_callback(self, callback): member in ResponseIteratorCall
D_rpc_state.py192 def add_callback(self, callback): member in State
/third_party/grpc/src/python/grpcio_testing/grpc_testing/_server/
D_servicer_context.py41 def add_callback(self, callback): member in ServicerContext
42 return self._rpc.add_callback(callback)
D_rpc.py133 def add_callback(self, callback): member in Rpc
/third_party/grpc/examples/python/cancellation/
Dserver.py50 context.add_callback(on_rpc_done)
72 context.add_callback(on_rpc_done)
DREADME.md95 In this example, we use the `ServicerContext.add_callback` method to set a
105 context.add_callback(on_rpc_done)
/third_party/grpc/src/python/grpcio/grpc/beta/
D_server_adaptations.py180 if not servicer_context.add_callback(callback.cancel):
193 if not servicer_context.add_callback(callback.cancel):
211 if not servicer_context.add_callback(callback.cancel):
227 if not servicer_context.add_callback(callback.cancel):
D_client_adaptations.py153 registered = self._call.add_callback(done_callback)
/third_party/grpc/src/python/grpcio_tests/tests/unit/
D_signal_handling_test.py83 servicer_context.add_callback(on_rpc_end)
99 servicer_context.add_callback(on_rpc_end)
/third_party/grpc/src/python/grpcio/grpc/
D_interceptor.py134 def add_callback(self, unused_callback): member in _FailureOutcome
177 def add_callback(self, callback): member in _UnaryOutcome
178 return self._call.add_callback(callback)
D__init__.py338 def add_callback(self, callback): member in RpcContext
D_server.py254 def add_callback(self, callback): member in _Context
D_channel.py400 def add_callback(self, callback): member in _Rendezvous
/third_party/grpc/src/python/grpcio_testing/grpc_testing/
D_common.py94 def add_callback(self, callback): member in ChannelRpcHandler
/third_party/grpc/src/python/grpcio_health_checking/grpc_health/v1/
Dhealth.py133 context.add_callback(
/third_party/grpc/src/python/grpcio_tests/tests_py3_only/unit/
D_simple_stubs_test.py95 context.add_callback(_on_done)
/third_party/grpc/src/python/grpcio/grpc/_cython/_cygrpc/aio/
Dserver.pyx.pxi299 def add_callback(self, object callback): member in _SyncServicerContext