Public Attributes | List of all members
grpc_core::LoadBalancingPolicy::Args Struct Reference

Args used to instantiate an LB policy. More...

#include <lb_policy.h>

Public Attributes

const grpc_channel_argsargs = nullptr
 Channel args. More...
 
std::unique_ptr< ChannelControlHelperchannel_control_helper
 
std::shared_ptr< WorkSerializerwork_serializer
 The work_serializer under which all LB policy calls will be run. More...
 

Detailed Description

Args used to instantiate an LB policy.

Definition at line 343 of file lb_policy.h.

Member Data Documentation

◆ args

const grpc_channel_args* grpc_core::LoadBalancingPolicy::Args::args = nullptr

Channel args.

Definition at line 355 of file lb_policy.h.

◆ channel_control_helper

std::unique_ptr<ChannelControlHelper> grpc_core::LoadBalancingPolicy::Args::channel_control_helper

Channel control helper. Note: LB policies MUST NOT call any method on the helper from their constructor.

Definition at line 349 of file lb_policy.h.

◆ work_serializer

std::shared_ptr<WorkSerializer> grpc_core::LoadBalancingPolicy::Args::work_serializer

The work_serializer under which all LB policy calls will be run.

Definition at line 345 of file lb_policy.h.


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


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