Public Member Functions | Public Attributes | List of all members
grpc_ares_request Struct Referenceabstract

#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
 

Detailed Description

Definition at line 56 of file grpc_ares_wrapper.h.

Member Function Documentation

◆ ABSL_GUARDED_BY() [1/8]

struct ares_addr_port_node dns_server_addr grpc_ares_request::ABSL_GUARDED_BY ( mu  )

indicates the DNS server to use, if specified

◆ ABSL_GUARDED_BY() [2/8]

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

◆ ABSL_GUARDED_BY() [3/8]

std::unique_ptr<grpc_core::ServerAddressList>* addresses_out grpc_ares_request::ABSL_GUARDED_BY ( mu  )

the pointer to receive the resolved addresses

◆ ABSL_GUARDED_BY() [4/8]

std::unique_ptr<grpc_core::ServerAddressList>* balancer_addresses_out grpc_ares_request::ABSL_GUARDED_BY ( mu  )

the pointer to receive the resolved balancer addresses

◆ ABSL_GUARDED_BY() [5/8]

char** service_config_json_out grpc_ares_request::ABSL_GUARDED_BY ( mu  )

the pointer to receive the service config in JSON

◆ ABSL_GUARDED_BY() [6/8]

grpc_ares_ev_driver* ev_driver grpc_ares_request::ABSL_GUARDED_BY ( mu  )

the evernt driver used by this request

◆ ABSL_GUARDED_BY() [7/8]

grpc_error_handle error grpc_ares_request::ABSL_GUARDED_BY ( mu  )

the errors explaining query failures, appended to in query callbacks

◆ ABSL_GUARDED_BY() [8/8]

size_t pending_queries grpc_ares_request::ABSL_GUARDED_BY ( mu  )
pure virtual

number of ongoing queries

Member Data Documentation

◆ mu

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.


The documentation for this struct was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:46