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
lib
surface
builtins.cc
Go to the documentation of this file.
1
// Copyright 2021 gRPC authors.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
#include <
grpc/support/port_platform.h
>
16
17
#include "
src/core/lib/surface/builtins.h
"
18
19
#include <limits.h>
20
21
#include "
src/core/lib/channel/channel_stack_builder.h
"
22
#include "
src/core/lib/channel/connected_channel.h
"
23
#include "
src/core/lib/config/core_configuration.h
"
24
#include "
src/core/lib/surface/channel_init.h
"
25
#include "
src/core/lib/surface/channel_stack_type.h
"
26
#include "
src/core/lib/surface/lame_client.h
"
27
#include "
src/core/lib/surface/server.h
"
28
29
namespace
grpc_core
{
30
31
void
RegisterBuiltins
(
CoreConfiguration::Builder
*
builder
) {
32
builder
->channel_init()->RegisterStage(
GRPC_CLIENT_SUBCHANNEL
,
33
GRPC_CHANNEL_INIT_BUILTIN_PRIORITY
,
34
grpc_add_connected_filter
);
35
builder
->channel_init()->RegisterStage(
GRPC_CLIENT_DIRECT_CHANNEL
,
36
GRPC_CHANNEL_INIT_BUILTIN_PRIORITY
,
37
grpc_add_connected_filter
);
38
builder
->channel_init()->RegisterStage(
GRPC_SERVER_CHANNEL
,
39
GRPC_CHANNEL_INIT_BUILTIN_PRIORITY
,
40
grpc_add_connected_filter
);
41
builder
->channel_init()->RegisterStage(
42
GRPC_CLIENT_LAME_CHANNEL
,
GRPC_CHANNEL_INIT_BUILTIN_PRIORITY
,
43
[](
ChannelStackBuilder
*
builder
) {
44
builder
->AppendFilter(&
LameClientFilter::kFilter
);
45
return
true
;
46
});
47
builder
->channel_init()->RegisterStage(
48
GRPC_SERVER_CHANNEL
, INT_MAX, [](
ChannelStackBuilder
*
builder
) {
49
builder
->PrependFilter(&
Server::kServerTopFilter
);
50
return
true
;
51
});
52
}
53
54
}
// namespace grpc_core
grpc_core::RegisterBuiltins
void RegisterBuiltins(CoreConfiguration::Builder *builder)
Definition:
builtins.cc:31
core_configuration.h
lame_client.h
grpc_core::LameClientFilter::kFilter
static const grpc_channel_filter kFilter
Definition:
lame_client.h:49
grpc_core
Definition:
call_metric_recorder.h:31
grpc_core::CoreConfiguration::Builder
Definition:
core_configuration.h:41
GRPC_CLIENT_DIRECT_CHANNEL
@ GRPC_CLIENT_DIRECT_CHANNEL
Definition:
channel_stack_type.h:34
GRPC_CLIENT_SUBCHANNEL
@ GRPC_CLIENT_SUBCHANNEL
Definition:
channel_stack_type.h:29
grpc_core::ChannelStackBuilder
Definition:
channel_stack_builder.h:41
GRPC_SERVER_CHANNEL
@ GRPC_SERVER_CHANNEL
Definition:
channel_stack_type.h:36
profile_analyzer.builder
builder
Definition:
profile_analyzer.py:159
grpc_add_connected_filter
bool grpc_add_connected_filter(grpc_core::ChannelStackBuilder *builder)
Definition:
connected_channel.cc:231
channel_init.h
grpc_core::Server::kServerTopFilter
static const grpc_channel_filter kServerTopFilter
Definition:
src/core/lib/surface/server.h:79
channel_stack_type.h
server.h
connected_channel.h
builtins.h
channel_stack_builder.h
GRPC_CLIENT_LAME_CHANNEL
@ GRPC_CLIENT_LAME_CHANNEL
Definition:
channel_stack_type.h:31
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:41