#include <resolver_registry.h>
Definition at line 39 of file resolver_registry.h.
◆ ResolverRegistry() [1/3]
◆ ResolverRegistry() [2/3]
◆ ResolverRegistry() [3/3]
grpc_core::ResolverRegistry::ResolverRegistry |
( |
State |
state | ) |
|
|
inlineexplicitprivate |
◆ AddDefaultPrefixIfNeeded()
std::string grpc_core::ResolverRegistry::AddDefaultPrefixIfNeeded |
( |
absl::string_view |
target | ) |
const |
◆ CreateResolver()
Creates a resolver given target. First tries to parse target as a URI. If this succeeds, tries to locate a registered resolver factory based on the URI scheme. If parsing fails or there is no factory for the URI's scheme, prepends default_prefix to target and tries again. If a resolver factory is found, uses it to instantiate a resolver and returns it; otherwise, returns nullptr. args, pollset_set, and work_serializer are passed to the factory's CreateResolver() method. args are the channel args to be included in resolver results. pollset_set is used to drive I/O in the name resolution process. work_serializer is the work_serializer under which all resolver calls will be run. result_handler is used to return results from the resolver.
Definition at line 73 of file resolver_registry.cc.
◆ FindResolverFactory()
◆ GetDefaultAuthority()
std::string grpc_core::ResolverRegistry::GetDefaultAuthority |
( |
absl::string_view |
target | ) |
const |
Returns the default authority to pass from a client for target.
Definition at line 90 of file resolver_registry.cc.
◆ IsValidTarget()
Checks whether the user input target is valid to create a resolver.
Definition at line 64 of file resolver_registry.cc.
◆ LookupResolverFactory()
Returns the resolver factory for scheme. Caller does NOT own the return value.
Definition at line 108 of file resolver_registry.cc.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ state_
State grpc_core::ResolverRegistry::state_ |
|
private |
The documentation for this class was generated from the following files: