Public Types | Public Member Functions | List of all members
grpc_event_engine::experimental::EndpointConfig Class Referenceabstract

#include <endpoint_config.h>

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

Public Types

using Setting = absl::variant< absl::monostate, int, absl::string_view, void * >
 

Public Member Functions

virtual Setting Get (absl::string_view key) const =0
 
virtual ~EndpointConfig ()=default
 

Detailed Description

Collection of parameters used to configure client and server endpoints. The EndpointConfig maps string-valued keys to values of type int, string_view, or void pointer. Each EventEngine implementation should document its set of supported configuration options.

Definition at line 31 of file endpoint_config.h.

Member Typedef Documentation

◆ Setting

Definition at line 34 of file endpoint_config.h.

Constructor & Destructor Documentation

◆ ~EndpointConfig()

virtual grpc_event_engine::experimental::EndpointConfig::~EndpointConfig ( )
virtualdefault

Member Function Documentation

◆ Get()

virtual Setting grpc_event_engine::experimental::EndpointConfig::Get ( absl::string_view  key) const
pure virtual

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.

Implemented in grpc_event_engine::experimental::ChannelArgsEndpointConfig.


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


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