grpc
src
core
lib
event_engine
channel_args_endpoint_config.h
Go to the documentation of this file.
1
// Copyright 2021 The 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
#ifndef GRPC_CORE_LIB_EVENT_ENGINE_CHANNEL_ARGS_ENDPOINT_CONFIG_H
15
#define GRPC_CORE_LIB_EVENT_ENGINE_CHANNEL_ARGS_ENDPOINT_CONFIG_H
16
17
#include <
grpc/support/port_platform.h
>
18
19
#include "absl/strings/string_view.h"
20
21
#include <
grpc/event_engine/endpoint_config.h
>
22
#include <
grpc/impl/codegen/grpc_types.h
>
23
24
namespace
grpc_event_engine
{
25
namespace
experimental {
26
30
class
ChannelArgsEndpointConfig
:
public
EndpointConfig
{
31
public
:
32
explicit
ChannelArgsEndpointConfig
(
const
grpc_channel_args
*
args
)
33
:
args_
(
args
) {}
34
Setting
Get
(
absl::string_view
key
)
const override
;
35
36
private
:
37
const
grpc_channel_args
*
args_
;
38
};
39
40
}
// namespace experimental
41
}
// namespace grpc_event_engine
42
43
#endif // GRPC_CORE_LIB_EVENT_ENGINE_CHANNEL_ARGS_ENDPOINT_CONFIG_H
grpc_event_engine::experimental::EndpointConfig::Setting
absl::variant< absl::monostate, int, absl::string_view, void * > Setting
Definition:
endpoint_config.h:34
grpc_event_engine::experimental::ChannelArgsEndpointConfig::ChannelArgsEndpointConfig
ChannelArgsEndpointConfig(const grpc_channel_args *args)
Definition:
channel_args_endpoint_config.h:32
absl::string_view
Definition:
abseil-cpp/absl/strings/string_view.h:167
grpc_event_engine::experimental::ChannelArgsEndpointConfig
Definition:
channel_args_endpoint_config.h:30
grpc_channel_args
Definition:
grpc_types.h:132
grpc_event_engine::experimental::ChannelArgsEndpointConfig::Get
Setting Get(absl::string_view key) const override
Definition:
channel_args_endpoint_config.cc:30
grpc_event_engine::experimental::EndpointConfig
Definition:
endpoint_config.h:31
grpc_types.h
asyncio_get_stats.args
args
Definition:
asyncio_get_stats.py:40
key
const char * key
Definition:
hpack_parser_table.cc:164
grpc_event_engine
Definition:
endpoint_config.h:24
grpc_event_engine::experimental::ChannelArgsEndpointConfig::args_
const grpc_channel_args * args_
Definition:
channel_args_endpoint_config.h:37
endpoint_config.h
port_platform.h
grpc
Author(s):
autogenerated on Fri May 16 2025 02:57:52