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 
16 
18 
19 #include <limits.h>
20 
28 
29 namespace grpc_core {
30 
32  builder->channel_init()->RegisterStage(GRPC_CLIENT_SUBCHANNEL,
35  builder->channel_init()->RegisterStage(GRPC_CLIENT_DIRECT_CHANNEL,
38  builder->channel_init()->RegisterStage(GRPC_SERVER_CHANNEL,
41  builder->channel_init()->RegisterStage(
44  builder->AppendFilter(&LameClientFilter::kFilter);
45  return true;
46  });
47  builder->channel_init()->RegisterStage(
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