GRPC Core  9.0.0
Public Member Functions
grpc_core::ResolvingLoadBalancingPolicy::ResolvingControlHelper Class Reference

Public Member Functions

 ResolvingControlHelper (RefCountedPtr< ResolvingLoadBalancingPolicy > parent)
 
RefCountedPtr< SubchannelInterfaceCreateSubchannel (const grpc_channel_args &args) override
 Creates a new subchannel with the specified channel args. More...
 
void UpdateState (grpc_connectivity_state state, std::unique_ptr< SubchannelPicker > picker) override
 Sets the connectivity state and returns a new picker to be used by the client channel. More...
 
void RequestReresolution () override
 Requests that the resolver re-resolve. More...
 
void AddTraceEvent (TraceSeverity, StringView) override
 
void set_child (LoadBalancingPolicy *child)
 
- Public Member Functions inherited from grpc_core::LoadBalancingPolicy::ChannelControlHelper
 ChannelControlHelper ()=default
 
virtual ~ChannelControlHelper ()=default
 

Additional Inherited Members

- Public Types inherited from grpc_core::LoadBalancingPolicy::ChannelControlHelper
enum  TraceSeverity { TRACE_INFO , TRACE_WARNING , TRACE_ERROR }
 Adds a trace message associated with the channel. More...
 

Constructor & Destructor Documentation

◆ ResolvingControlHelper()

grpc_core::ResolvingLoadBalancingPolicy::ResolvingControlHelper::ResolvingControlHelper ( RefCountedPtr< ResolvingLoadBalancingPolicy parent)
inlineexplicit

Member Function Documentation

◆ AddTraceEvent()

void grpc_core::ResolvingLoadBalancingPolicy::ResolvingControlHelper::AddTraceEvent ( TraceSeverity  ,
StringView   
)
inlineoverridevirtual

◆ CreateSubchannel()

RefCountedPtr<SubchannelInterface> grpc_core::ResolvingLoadBalancingPolicy::ResolvingControlHelper::CreateSubchannel ( const grpc_channel_args args)
inlineoverridevirtual

Creates a new subchannel with the specified channel args.

Implements grpc_core::LoadBalancingPolicy::ChannelControlHelper.

◆ RequestReresolution()

void grpc_core::ResolvingLoadBalancingPolicy::ResolvingControlHelper::RequestReresolution ( )
inlineoverridevirtual

Requests that the resolver re-resolve.

Implements grpc_core::LoadBalancingPolicy::ChannelControlHelper.

◆ set_child()

void grpc_core::ResolvingLoadBalancingPolicy::ResolvingControlHelper::set_child ( LoadBalancingPolicy child)
inline

◆ UpdateState()

void grpc_core::ResolvingLoadBalancingPolicy::ResolvingControlHelper::UpdateState ( grpc_connectivity_state  state,
std::unique_ptr< SubchannelPicker  
)
inlineoverridevirtual

Sets the connectivity state and returns a new picker to be used by the client channel.

Implements grpc_core::LoadBalancingPolicy::ChannelControlHelper.


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