#include <grpc_ares_wrapper.h>
Public Member Functions | |
struct ares_addr_port_node dns_server_addr | ABSL_GUARDED_BY (mu) |
grpc_closure *on_done | ABSL_GUARDED_BY (mu) |
std::unique_ptr< grpc_core::ServerAddressList > *addresses_out | ABSL_GUARDED_BY (mu) |
std::unique_ptr< grpc_core::ServerAddressList > *balancer_addresses_out | ABSL_GUARDED_BY (mu) |
char **service_config_json_out | ABSL_GUARDED_BY (mu) |
grpc_ares_ev_driver *ev_driver | ABSL_GUARDED_BY (mu) |
grpc_error_handle error | ABSL_GUARDED_BY (mu) |
size_t pending_queries | ABSL_GUARDED_BY (mu)=0 |
Public Attributes | |
grpc_core::Mutex | mu |
Definition at line 56 of file grpc_ares_wrapper.h.
struct ares_addr_port_node dns_server_addr grpc_ares_request::ABSL_GUARDED_BY | ( | mu | ) |
indicates the DNS server to use, if specified
grpc_closure* on_done grpc_ares_request::ABSL_GUARDED_BY | ( | mu | ) |
following members are set in grpc_resolve_address_ares_impl closure to call when the request completes
std::unique_ptr<grpc_core::ServerAddressList>* addresses_out grpc_ares_request::ABSL_GUARDED_BY | ( | mu | ) |
the pointer to receive the resolved addresses
std::unique_ptr<grpc_core::ServerAddressList>* balancer_addresses_out grpc_ares_request::ABSL_GUARDED_BY | ( | mu | ) |
the pointer to receive the resolved balancer addresses
char** service_config_json_out grpc_ares_request::ABSL_GUARDED_BY | ( | mu | ) |
the pointer to receive the service config in JSON
grpc_ares_ev_driver* ev_driver grpc_ares_request::ABSL_GUARDED_BY | ( | mu | ) |
the evernt driver used by this request
grpc_error_handle error grpc_ares_request::ABSL_GUARDED_BY | ( | mu | ) |
the errors explaining query failures, appended to in query callbacks
|
pure virtual |
number of ongoing queries
grpc_core::Mutex grpc_ares_request::mu |
synchronizes access to this request, and also to associated ev_driver and fd_node objects
Definition at line 59 of file grpc_ares_wrapper.h.