19 #ifndef GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RESOLVER_H
20 #define GRPC_CORE_EXT_FILTERS_CLIENT_CHANNEL_RESOLVER_H
36 #define GRPC_ARG_ADDRESS_NAME "grpc.address_name"
Definition: orphanable.h:76
void Unref()
Definition: orphanable.h:103
Definition: ref_counted_ptr.h:35
A proxy object used by the resolver to return results to the client channel.
Definition: resolver.h:73
virtual void ReturnError(grpc_error_handle error)=0
Returns a transient error to the channel.
virtual void ReturnResult(Result result)=0
Returns a result to the channel.
virtual ~ResultHandler()
Definition: resolver.h:75
Interface for name resolution.
Definition: resolver.h:52
Resolver()
Definition: resolver.cc:32
virtual void ResetBackoffLocked()
Resets the re-resolution backoff, if any.
Definition: resolver.h:119
void Orphan() override
Definition: resolver.h:122
virtual void StartLocked()=0
Starts resolving.
virtual void ShutdownLocked()=0
Shuts down the resolver.
virtual void RequestReresolutionLocked()
Asks the resolver to obtain an updated resolver result, if applicable.
Definition: resolver.h:111
Resolver(const Resolver &)=delete
~Resolver() override=default
Resolver & operator=(const Resolver &)=delete
#define GRPC_ERROR_NONE
The following "special" errors can be propagated without allocating memory.
Definition: error.h:228
grpc_error_handle error
Definition: lame_client.cc:54
Round Robin Policy.
Definition: backend_metric.cc:26
absl::InlinedVector< ServerAddress, 1 > ServerAddressList
Definition: server_address.h:111
grpc_core::DebugOnlyTraceFlag grpc_trace_resolver_refcount
An array of arguments that can be passed around.
Definition: grpc_types.h:132
Results returned by the resolver.
Definition: resolver.h:55
~Result()
Definition: resolver.cc:41
Result & operator=(const Result &other)
Definition: resolver.cc:62
ServerAddressList addresses
Definition: resolver.h:56
const grpc_channel_args * args
Definition: resolver.h:59
grpc_error_handle service_config_error
Definition: resolver.h:58
RefCountedPtr< ServiceConfig > service_config
Definition: resolver.h:57
Definition: error_internal.h:41