GRPC Core
18.0.0
|
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... | |
![]() | |
virtual | ~EndpointConfig ()=default |
Additional Inherited Members | |
![]() | |
using | Setting = absl::variant< absl::monostate, int, absl::string_view, void * > |
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.
|
inlineexplicit |
|
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.