Home
last modified time | relevance | path

Searched refs:try_to_connect (Results 1 – 25 of 26) sorted by relevance

12

/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_channel_connectivity_test.py64 channel.subscribe(callback.update, try_to_connect=False)
66 channel.subscribe(callback.update, try_to_connect=True)
93 channel.subscribe(first_callback.update, try_to_connect=False)
100 channel.subscribe(second_callback.update, try_to_connect=True)
134 channel.subscribe(callback.update, try_to_connect=True)
D_exit_scenarios.py186 channel.subscribe(connectivity_callback, try_to_connect=True)
198 channel.subscribe(connectivity_callback, try_to_connect=True)
/external/grpc-grpc/src/python/grpcio/grpc/
D_channel.py767 self.try_to_connect = False
774 self.try_to_connect = False
820 try_to_connect = initial_try_to_connect
821 connectivity = channel.check_connectivity_state(try_to_connect)
838 if not state.callbacks_and_connectivities and not state.try_to_connect:
842 try_to_connect = state.try_to_connect
843 state.try_to_connect = False
844 if event.success or try_to_connect:
845 connectivity = channel.check_connectivity_state(try_to_connect)
861 def _subscribe(state, callback, try_to_connect): argument
[all …]
D_interceptor.py400 def subscribe(self, callback, try_to_connect=False): argument
401 self._channel.subscribe(callback, try_to_connect=try_to_connect)
D_utilities.py155 self._channel.subscribe(self._update, try_to_connect=True)
D__init__.py823 def subscribe(self, callback, try_to_connect=False): argument
/external/grpc-grpc/src/php/lib/Grpc/
DBaseStub.php128 * @param bool $try_to_connect (optional)
132 public function getConnectivityState($try_to_connect = false) argument
134 return $this->channel->getConnectivityState($try_to_connect);
/external/grpc-grpc/src/php/lib/Grpc/Internal/
DInterceptorChannel.php67 public function getConnectivityState($try_to_connect = false) argument
69 return $this->getNext()->getConnectivityState($try_to_connect);
/external/grpc-grpc/src/python/grpcio/grpc/beta/
Dimplementations.py77 def subscribe(self, callback, try_to_connect=None): argument
90 self._channel.subscribe(callback, try_to_connect=try_to_connect)
Dutilities.py124 self._channel.subscribe(self._update, try_to_connect=True)
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dchannel_connectivity.cc34 grpc_channel* channel, int try_to_connect) { in grpc_channel_check_connectivity_state() argument
42 (channel, try_to_connect)); in grpc_channel_check_connectivity_state()
45 try_to_connect); in grpc_channel_check_connectivity_state()
Dclient_channel.h48 grpc_channel_element* elem, int try_to_connect);
/external/grpc-grpc/src/cpp/client/
Dchannel_cc.cc154 grpc_connectivity_state Channel::GetState(bool try_to_connect) { in GetState() argument
155 return grpc_channel_check_connectivity_state(c_channel_, try_to_connect); in GetState()
/external/grpc-grpc/src/php/ext/grpc/
Dchannel.c473 bool try_to_connect = false; in PHP_METHOD() local
475 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &try_to_connect) in PHP_METHOD()
483 (int)try_to_connect); in PHP_METHOD()
707 ZEND_ARG_INFO(0, try_to_connect)
/external/grpc-grpc/src/python/grpcio_testing/grpc_testing/_channel/
D_channel.py29 def subscribe(self, callback, try_to_connect=False): argument
/external/grpc-grpc/include/grpcpp/
Dchannel.h51 grpc_connectivity_state GetState(bool try_to_connect) override;
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_channel.c267 int try_to_connect; member
280 stack->try_to_connect); in get_state_without_gil()
312 stack.try_to_connect = RTEST(try_to_connect_param) ? 1 : 0; in grpc_rb_channel_get_connectivity_state()
Drb_grpc_imports.generated.h134 …vity_state(*grpc_channel_check_connectivity_state_type)(grpc_channel* channel, int try_to_connect);
/external/grpc-grpc/include/grpcpp/impl/codegen/
Dchannel_interface.h62 virtual grpc_connectivity_state GetState(bool try_to_connect) = 0;
/external/grpc-grpc/test/core/end2end/fuzzers/
Dapi_fuzzer.cc874 uint8_t try_to_connect = grpc_fuzzer_get_next_byte(&inp); in LLVMFuzzerTestOneInput() local
875 if (try_to_connect == 0 || try_to_connect == 1) { in LLVMFuzzerTestOneInput()
876 grpc_channel_check_connectivity_state(g_channel, try_to_connect); in LLVMFuzzerTestOneInput()
/external/grpc-grpc/include/grpc/
Dgrpc.h185 grpc_channel* channel, int try_to_connect);
/external/grpc-grpc/doc/
Dconnectivity-semantics-and-api.md119 for one of the five legal states. It also accepts a boolean `try_to_connect` to
124 grpc_connectivity_state GetState(bool try_to_connect);
/external/grpc-grpc/src/python/grpcio/grpc/_cython/_cygrpc/
Dchannel.pyx.pxi469 def check_connectivity_state(self, bint try_to_connect): argument
473 self._state.c_channel, try_to_connect)
Dgrpc.pxi365 grpc_channel *channel, int try_to_connect) nogil
/external/grpc-grpc/src/csharp/ext/
Dgrpc_csharp_ext.c420 int32_t try_to_connect) { in grpcsharp_channel_check_connectivity_state() argument
421 return grpc_channel_check_connectivity_state(channel, try_to_connect); in grpcsharp_channel_check_connectivity_state()

12