GRPC C++  1.39.1
Public Member Functions
grpc_core::ChildPolicyHandler::Helper Class Reference

Public Member Functions

 Helper (RefCountedPtr< ChildPolicyHandler > parent)
 
 ~Helper () override
 
RefCountedPtr< SubchannelInterfaceCreateSubchannel (ServerAddress address, const grpc_channel_args &args) override
 Creates a new subchannel with the specified channel args. More...
 
void UpdateState (grpc_connectivity_state state, const absl::Status &status, 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 severity, absl::string_view message) 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

◆ Helper()

grpc_core::ChildPolicyHandler::Helper::Helper ( RefCountedPtr< ChildPolicyHandler parent)
inlineexplicit

◆ ~Helper()

grpc_core::ChildPolicyHandler::Helper::~Helper ( )
inlineoverride

Member Function Documentation

◆ AddTraceEvent()

void grpc_core::ChildPolicyHandler::Helper::AddTraceEvent ( TraceSeverity  severity,
absl::string_view  message 
)
inlineoverridevirtual

◆ CreateSubchannel()

RefCountedPtr<SubchannelInterface> grpc_core::ChildPolicyHandler::Helper::CreateSubchannel ( ServerAddress  address,
const grpc_channel_args args 
)
inlineoverridevirtual

Creates a new subchannel with the specified channel args.

Implements grpc_core::LoadBalancingPolicy::ChannelControlHelper.

◆ RequestReresolution()

void grpc_core::ChildPolicyHandler::Helper::RequestReresolution ( )
inlineoverridevirtual

Requests that the resolver re-resolve.

Implements grpc_core::LoadBalancingPolicy::ChannelControlHelper.

◆ set_child()

void grpc_core::ChildPolicyHandler::Helper::set_child ( LoadBalancingPolicy child)
inline

◆ UpdateState()

void grpc_core::ChildPolicyHandler::Helper::UpdateState ( grpc_connectivity_state  state,
const absl::Status &  status,
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: