Go to the documentation of this file.
17 #ifndef GRPC_CORE_LIB_RESOLVER_RESOLVER_FACTORY_H
18 #define GRPC_CORE_LIB_RESOLVER_RESOLVER_FACTORY_H
25 #include "absl/strings/string_view.h"
26 #include "absl/strings/strip.h"
78 #endif // GRPC_CORE_LIB_RESOLVER_RESOLVER_FACTORY_H
virtual OrphanablePtr< Resolver > CreateResolver(ResolverArgs args) const =0
Returns a new resolver instance.
struct grpc_pollset_set grpc_pollset_set
virtual std::string GetDefaultAuthority(const URI &uri) const
ABSL_MUST_USE_RESULT absl::string_view StripPrefix(absl::string_view str, absl::string_view prefix)
virtual bool IsValidUri(const URI &uri) const =0
const std::string & path() const
const grpc_channel_args * args
Channel args to be included in resolver results.
virtual ~ResolverFactory()
URI uri
The parsed URI to resolve.
std::unique_ptr< T, Deleter > OrphanablePtr
grpc_pollset_set * pollset_set
Used to drive I/O in the name resolution process.
std::shared_ptr< WorkSerializer > work_serializer
The work_serializer under which all resolver calls will be run.
virtual absl::string_view scheme() const =0
std::unique_ptr< Resolver::ResultHandler > result_handler
The result handler to be used by the resolver.
grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:01:11