GRPC Core  18.0.0
Public Member Functions
grpc_event_engine::experimental::ChannelArgsEndpointConfig Class Reference

A readonly EndpointConfig based on grpc_channel_args. More...

#include <endpoint_config_internal.h>

Public Member Functions

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

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.

Constructor & Destructor Documentation

◆ ChannelArgsEndpointConfig()

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

Member Function Documentation

◆ Get()

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

Returns an EndpointConfig Setting.

If there is no Setting associated with key in the EndpointConfig, an absl::monostate type will be returned. Caller does not take ownership of resulting value.

Implements grpc_event_engine::experimental::EndpointConfig.


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