#include <client_channel.h>
|
| std::unique_ptr< LoadBalancingPolicy::SubchannelPicker > picker_ | ABSL_GUARDED_BY (data_plane_mu_) |
| |
| LbQueuedCall *lb_queued_calls_ | ABSL_GUARDED_BY (data_plane_mu_) |
| |
| std::map< grpc_closure *, RefCountedPtr< ExternalConnectivityWatcher > > external_watchers_ | ABSL_GUARDED_BY (external_watchers_mu_) |
| |
| std::string info_lb_policy_name_ | ABSL_GUARDED_BY (info_mu_) |
| |
| std::string info_service_config_json_ | ABSL_GUARDED_BY (info_mu_) |
| |
| ResolverQueuedCall *resolver_queued_calls_ | ABSL_GUARDED_BY (resolution_mu_) |
| |
| absl::Status resolver_transient_failure_error_ | ABSL_GUARDED_BY (resolution_mu_) |
| |
| bool received_service_config_data_ | ABSL_GUARDED_BY (resolution_mu_) |
| |
| RefCountedPtr< ServiceConfig > service_config_ | ABSL_GUARDED_BY (resolution_mu_) |
| |
| RefCountedPtr< ConfigSelector > config_selector_ | ABSL_GUARDED_BY (resolution_mu_) |
| |
| RefCountedPtr< DynamicFilters > dynamic_filters_ | ABSL_GUARDED_BY (resolution_mu_) |
| |
| void | AddLbQueuedCall (LbQueuedCall *call, grpc_polling_entity *pollent) ABSL_EXCLUSIVE_LOCKS_REQUIRED(data_plane_mu_) |
| |
| void | AddResolverQueuedCall (ResolverQueuedCall *call, grpc_polling_entity *pollent) ABSL_EXCLUSIVE_LOCKS_REQUIRED(resolution_mu_) |
| |
| | ClientChannel (grpc_channel_element_args *args, grpc_error_handle *error) |
| |
| OrphanablePtr< LoadBalancingPolicy > | CreateLbPolicyLocked (const grpc_channel_args &args) ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_) |
| |
| void | CreateOrUpdateLbPolicyLocked (RefCountedPtr< LoadBalancingPolicy::Config > lb_policy_config, const absl::optional< std::string > &health_check_service_name, Resolver::Result result) ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_) |
| |
| void | CreateResolverLocked () ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_) |
| |
| void | DestroyResolverAndLbPolicyLocked () ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_) |
| |
| grpc_error_handle | DoPingLocked (grpc_transport_op *op) ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_) |
| |
| void | OnResolverErrorLocked (absl::Status status) ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_) |
| |
| void | OnResolverResultChangedLocked (Resolver::Result result) ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_) |
| |
| void | RemoveLbQueuedCall (LbQueuedCall *to_remove, grpc_polling_entity *pollent) ABSL_EXCLUSIVE_LOCKS_REQUIRED(data_plane_mu_) |
| |
| void | RemoveResolverQueuedCall (ResolverQueuedCall *to_remove, grpc_polling_entity *pollent) ABSL_EXCLUSIVE_LOCKS_REQUIRED(resolution_mu_) |
| |
| void | StartTransportOpLocked (grpc_transport_op *op) ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_) |
| |
| void | TryToConnectLocked () ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_) |
| |
| void | UpdateServiceConfigInControlPlaneLocked (RefCountedPtr< ServiceConfig > service_config, RefCountedPtr< ConfigSelector > config_selector, std::string lb_policy_name) ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_) |
| |
| void | UpdateServiceConfigInDataPlaneLocked () ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_) |
| |
| void | UpdateStateAndPickerLocked (grpc_connectivity_state state, const absl::Status &status, const char *reason, std::unique_ptr< LoadBalancingPolicy::SubchannelPicker > picker) ABSL_EXCLUSIVE_LOCKS_REQUIRED(*work_serializer_) |
| |
| | ~ClientChannel () |
| |
Definition at line 109 of file client_channel.h.
◆ ClientChannel()
◆ ~ClientChannel()
| grpc_core::ClientChannel::~ClientChannel |
( |
| ) |
|
|
private |
◆ ABSL_GUARDED_BY() [1/11]
◆ ABSL_GUARDED_BY() [2/11]
◆ ABSL_GUARDED_BY() [3/11]
◆ ABSL_GUARDED_BY() [4/11]
| std::string info_lb_policy_name_ grpc_core::ClientChannel::ABSL_GUARDED_BY |
( |
info_mu_ |
| ) |
|
|
private |
◆ ABSL_GUARDED_BY() [5/11]
| std::string info_service_config_json_ grpc_core::ClientChannel::ABSL_GUARDED_BY |
( |
info_mu_ |
| ) |
|
|
private |
◆ ABSL_GUARDED_BY() [6/11]
◆ ABSL_GUARDED_BY() [7/11]
◆ ABSL_GUARDED_BY() [8/11]
| bool received_service_config_data_ grpc_core::ClientChannel::ABSL_GUARDED_BY |
( |
resolution_mu_ |
| ) |
|
|
private |
◆ ABSL_GUARDED_BY() [9/11]
◆ ABSL_GUARDED_BY() [10/11]
◆ ABSL_GUARDED_BY() [11/11]
◆ AddConnectivityWatcher()
◆ AddExternalConnectivityWatcher()
◆ AddLbQueuedCall()
◆ AddResolverQueuedCall()
◆ CancelExternalConnectivityWatcher()
| void grpc_core::ClientChannel::CancelExternalConnectivityWatcher |
( |
grpc_closure * |
on_complete | ) |
|
|
inline |
◆ CheckConnectivityState()
◆ CreateLbPolicyLocked()
◆ CreateLoadBalancedCall()
◆ CreateOrUpdateLbPolicyLocked()
◆ CreateResolverLocked()
| void grpc_core::ClientChannel::CreateResolverLocked |
( |
| ) |
|
|
private |
◆ Destroy()
◆ DestroyResolverAndLbPolicyLocked()
| void grpc_core::ClientChannel::DestroyResolverAndLbPolicyLocked |
( |
| ) |
|
|
private |
◆ DoPingLocked()
◆ GetChannelInfo()
◆ GetFromChannel()
◆ Init()
◆ NumExternalConnectivityWatchers()
| int grpc_core::ClientChannel::NumExternalConnectivityWatchers |
( |
| ) |
const |
|
inline |
◆ OnResolverErrorLocked()
| void grpc_core::ClientChannel::OnResolverErrorLocked |
( |
absl::Status |
status | ) |
|
|
private |
◆ OnResolverResultChangedLocked()
| void grpc_core::ClientChannel::OnResolverResultChangedLocked |
( |
Resolver::Result |
result | ) |
|
|
private |
◆ RemoveConnectivityWatcher()
◆ RemoveLbQueuedCall()
◆ RemoveResolverQueuedCall()
◆ StartTransportOp()
◆ StartTransportOpLocked()
◆ TryToConnectLocked()
| void grpc_core::ClientChannel::TryToConnectLocked |
( |
| ) |
|
|
private |
◆ UpdateServiceConfigInControlPlaneLocked()
◆ UpdateServiceConfigInDataPlaneLocked()
| void grpc_core::ClientChannel::UpdateServiceConfigInDataPlaneLocked |
( |
| ) |
|
|
private |
◆ UpdateStateAndPickerLocked()
◆ channel_args_
◆ channelz_node_
◆ client_channel_factory_
◆ data_plane_mu_
| Mutex grpc_core::ClientChannel::data_plane_mu_ |
|
mutableprivate |
◆ deadline_checking_enabled_
| const bool grpc_core::ClientChannel::deadline_checking_enabled_ |
|
private |
◆ default_authority_
| std::string grpc_core::ClientChannel::default_authority_ |
|
private |
◆ default_service_config_
◆ external_watchers_mu_
| Mutex grpc_core::ClientChannel::external_watchers_mu_ |
|
mutableprivate |
◆ info_mu_
| Mutex grpc_core::ClientChannel::info_mu_ |
|
private |
◆ interested_parties_
◆ kFilterVtable
Initial value:= {
nullptr,
sizeof(ClientChannel::CallData),
"client-channel",
}
Definition at line 111 of file client_channel.h.
◆ owning_stack_
◆ resolution_mu_
| Mutex grpc_core::ClientChannel::resolution_mu_ |
|
mutableprivate |
◆ service_config_parser_index_
| const size_t grpc_core::ClientChannel::service_config_parser_index_ |
|
private |
◆ uri_to_resolve_
| std::string grpc_core::ClientChannel::uri_to_resolve_ |
|
private |
◆ work_serializer_ [1/12]
| std::shared_ptr<WorkSerializer> grpc_core::ClientChannel::work_serializer_ |
|
private |
◆ work_serializer_ [2/12]
◆ work_serializer_ [3/12]
◆ work_serializer_ [4/12]
◆ work_serializer_ [5/12]
◆ work_serializer_ [6/12]
◆ work_serializer_ [7/12]
◆ work_serializer_ [8/12]
◆ work_serializer_ [9/12]
◆ work_serializer_ [10/12]
◆ work_serializer_ [11/12]
◆ work_serializer_ [12/12]
The documentation for this class was generated from the following files: