Public Member Functions | Private Attributes | List of all members
grpc_event_engine::experimental::ChannelArgsEndpointConfig Class Reference

#include <channel_args_endpoint_config.h>

Inheritance diagram for grpc_event_engine::experimental::ChannelArgsEndpointConfig:
Inheritance graph
[legend]

Public Member Functions

 ChannelArgsEndpointConfig (const grpc_channel_args *args)
 
Setting Get (absl::string_view key) const override
 
- Public Member Functions inherited from grpc_event_engine::experimental::EndpointConfig
virtual ~EndpointConfig ()=default
 

Private Attributes

const grpc_channel_argsargs_
 

Additional Inherited Members

- Public Types inherited from grpc_event_engine::experimental::EndpointConfig
using Setting = absl::variant< absl::monostate, int, absl::string_view, void * >
 

Detailed Description

A readonly EndpointConfig based on grpc_channel_args. This class does not take ownership of the grpc_endpoint_args*, and instances of this class should not be used after the underlying args are destroyed.

Definition at line 30 of file channel_args_endpoint_config.h.

Constructor & Destructor Documentation

◆ ChannelArgsEndpointConfig()

grpc_event_engine::experimental::ChannelArgsEndpointConfig::ChannelArgsEndpointConfig ( const grpc_channel_args args)
inlineexplicit

Definition at line 32 of file channel_args_endpoint_config.h.

Member Function Documentation

◆ Get()

EndpointConfig::Setting grpc_event_engine::experimental::ChannelArgsEndpointConfig::Get ( absl::string_view  key) const
overridevirtual

Returns the Setting for a specified key, or absl::monostate if there is no such entry. Caller does not take ownership of the resulting value.

Implements grpc_event_engine::experimental::EndpointConfig.

Definition at line 30 of file channel_args_endpoint_config.cc.

Member Data Documentation

◆ args_

const grpc_channel_args* grpc_event_engine::experimental::ChannelArgsEndpointConfig::args_
private

Definition at line 37 of file channel_args_endpoint_config.h.


The documentation for this class was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:39