GRPC Core  9.0.0
Data Fields
grpc_core::LoadBalancingPolicy::Args Struct Reference

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

#include <lb_policy.h>

Data Fields

Combinercombiner = nullptr
 The combiner under which all LB policy calls will be run. More...
 
std::unique_ptr< ChannelControlHelperchannel_control_helper
 Channel control helper. More...
 
const grpc_channel_argsargs = nullptr
 Channel args. More...
 

Detailed Description

Args used to instantiate an LB policy.

Field Documentation

◆ args

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

Channel args.

◆ 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.

◆ combiner

Combiner* grpc_core::LoadBalancingPolicy::Args::combiner = nullptr

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

Policy does NOT take ownership of the reference to the combiner.


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