#include <channel_args_endpoint_config.h>
Public Member Functions | |
ChannelArgsEndpointConfig (const grpc_channel_args *args) | |
Setting | Get (absl::string_view key) const override |
![]() | |
virtual | ~EndpointConfig ()=default |
Private Attributes | |
const grpc_channel_args * | args_ |
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.
Definition at line 30 of file channel_args_endpoint_config.h.
|
inlineexplicit |
Definition at line 32 of file channel_args_endpoint_config.h.
|
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.
|
private |
Definition at line 37 of file channel_args_endpoint_config.h.