Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
Enumerations
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
z
Classes
Class List
Class Hierarchy
Class Members
All
:
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
[
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Enumerations
a
b
c
d
e
f
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Properties
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Related Functions
:
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Enumerations
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
grpc
src
core
ext
filters
client_channel
client_channel_plugin.cc
Go to the documentation of this file.
1
/*
2
*
3
* Copyright 2015 gRPC authors.
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*/
18
19
#include <
grpc/support/port_platform.h
>
20
21
#include "
src/core/ext/filters/client_channel/backup_poller.h
"
22
#include "
src/core/ext/filters/client_channel/client_channel.h
"
23
#include "
src/core/ext/filters/client_channel/http_proxy.h
"
24
#include "
src/core/ext/filters/client_channel/lb_policy_registry.h
"
25
#include "
src/core/ext/filters/client_channel/proxy_mapper_registry.h
"
26
#include "
src/core/ext/filters/client_channel/resolver_result_parsing.h
"
27
#include "
src/core/ext/filters/client_channel/retry_service_config.h
"
28
#include "
src/core/lib/channel/channel_stack_builder.h
"
29
#include "
src/core/lib/config/core_configuration.h
"
30
#include "
src/core/lib/surface/channel_init.h
"
31
#include "
src/core/lib/surface/channel_stack_type.h
"
32
33
void
grpc_client_channel_init
(
void
) {
34
grpc_core::LoadBalancingPolicyRegistry::Builder::InitRegistry
();
35
grpc_core::ProxyMapperRegistry::Init
();
36
grpc_core::RegisterHttpProxyMapper
();
37
grpc_client_channel_global_init_backup_polling
();
38
}
39
40
void
grpc_client_channel_shutdown
(
void
) {
41
grpc_core::ProxyMapperRegistry::Shutdown
();
42
grpc_core::LoadBalancingPolicyRegistry::Builder::ShutdownRegistry
();
43
}
44
45
namespace
grpc_core
{
46
47
void
BuildClientChannelConfiguration
(
CoreConfiguration::Builder
*
builder
) {
48
internal::ClientChannelServiceConfigParser::Register
(
builder
);
49
internal::RetryServiceConfigParser::Register
(
builder
);
50
builder
->channel_init()->RegisterStage(
51
GRPC_CLIENT_CHANNEL
,
GRPC_CHANNEL_INIT_BUILTIN_PRIORITY
,
52
[](
ChannelStackBuilder
*
builder
) {
53
builder
->AppendFilter(&
ClientChannel::kFilterVtable
);
54
return
true
;
55
});
56
}
57
58
}
// namespace grpc_core
grpc_core::BuildClientChannelConfiguration
void BuildClientChannelConfiguration(CoreConfiguration::Builder *builder)
Definition:
client_channel_plugin.cc:47
core_configuration.h
http_proxy.h
grpc_core
Definition:
call_metric_recorder.h:31
grpc_core::CoreConfiguration::Builder
Definition:
core_configuration.h:41
client_channel.h
grpc_client_channel_shutdown
void grpc_client_channel_shutdown(void)
Definition:
client_channel_plugin.cc:40
grpc_core::ChannelStackBuilder
Definition:
channel_stack_builder.h:41
profile_analyzer.builder
builder
Definition:
profile_analyzer.py:159
channel_init.h
grpc_core::internal::RetryServiceConfigParser::Register
static void Register(CoreConfiguration::Builder *builder)
Definition:
retry_service_config.cc:53
retry_service_config.h
backup_poller.h
channel_stack_type.h
grpc_core::internal::ClientChannelServiceConfigParser::Register
static void Register(CoreConfiguration::Builder *builder)
Definition:
resolver_result_parsing.cc:47
grpc_core::ProxyMapperRegistry::Shutdown
static void Shutdown()
Definition:
proxy_mapper_registry.cc:42
grpc_core::ProxyMapperRegistry::Init
static void Init()
Definition:
proxy_mapper_registry.cc:36
lb_policy_registry.h
GRPC_CLIENT_CHANNEL
@ GRPC_CLIENT_CHANNEL
Definition:
channel_stack_type.h:26
grpc_client_channel_init
void grpc_client_channel_init(void)
Definition:
client_channel_plugin.cc:33
grpc_core::LoadBalancingPolicyRegistry::Builder::InitRegistry
static void InitRegistry()
Global initialization and shutdown hooks.
Definition:
lb_policy_registry.cc:78
grpc_core::ClientChannel::kFilterVtable
static const grpc_channel_filter kFilterVtable
Definition:
client_channel.h:111
resolver_result_parsing.h
proxy_mapper_registry.h
grpc_core::RegisterHttpProxyMapper
void RegisterHttpProxyMapper()
Definition:
http_proxy.cc:214
channel_stack_builder.h
grpc_core::LoadBalancingPolicyRegistry::Builder::ShutdownRegistry
static void ShutdownRegistry()
Definition:
lb_policy_registry.cc:82
grpc_client_channel_global_init_backup_polling
void grpc_client_channel_global_init_backup_polling()
Definition:
backup_poller.cc:75
GRPC_CHANNEL_INIT_BUILTIN_PRIORITY
#define GRPC_CHANNEL_INIT_BUILTIN_PRIORITY
Definition:
channel_init.h:31
port_platform.h
grpc
Author(s):
autogenerated on Thu Mar 13 2025 02:58:47