Go to the documentation of this file.
17 #ifndef GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RESOLVER_POLLING_RESOLVER_H
18 #define GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RESOLVER_POLLING_RESOLVER_H
25 #include "absl/types/optional.h"
49 Duration min_time_between_resolutions,
113 #endif // GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RESOLVER_POLLING_RESOLVER_H
const std::string & authority() const
const grpc_channel_args * channel_args_
channel args
const std::string & name_to_resolve() const
void StartLocked() override
Starts resolving.
grpc_timer next_resolution_timer_
std::shared_ptr< WorkSerializer > work_serializer_
OrphanablePtr< Orphanable > request_
are we currently resolving?
struct grpc_pollset_set grpc_pollset_set
std::string name_to_resolve_
name to resolve
grpc_pollset_set * interested_parties_
pollset_set to drive the name resolution process
void OnNextResolutionLocked(grpc_error_handle error)
static void OnNextResolution(void *arg, grpc_error_handle error)
virtual OrphanablePtr< Orphanable > StartRequest()=0
PollingResolver(ResolverArgs args, const grpc_channel_args *channel_args, Duration min_time_between_resolutions, BackOff::Options backoff_options, TraceFlag *tracer)
void RequestReresolutionLocked() override
TestInstance::Result Result
Results returned by the resolver.
BackOff backoff_
retry backoff state
void MaybeStartResolvingLocked()
const grpc_channel_args * channel_args() const
void OnRequestComplete(Result result)
Duration min_time_between_resolutions_
min time between DNS requests
void ResetBackoffLocked() override
std::unique_ptr< ResultHandler > result_handler_
void StartResolvingLocked()
~PollingResolver() override
grpc_closure on_next_resolution_
std::string authority_
authority
std::unique_ptr< T, Deleter > OrphanablePtr
absl::optional< Timestamp > last_resolution_timestamp_
timestamp of last DNS request
void ShutdownLocked() override
Shuts down the resolver.
grpc_pollset_set * interested_parties() const
void OnRequestCompleteLocked(Result result)
bool shutdown_
are we shutting down?
bool have_next_resolution_timer_
next resolution timer
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:00:53