Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
grpc_core::ClientChannel::ClientChannelControlHelper Class Reference
Inheritance diagram for grpc_core::ClientChannel::ClientChannelControlHelper:
Inheritance graph
[legend]

Public Member Functions

void AddTraceEvent (TraceSeverity severity, absl::string_view message) override ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_ -> work_serializer_)
 
 ClientChannelControlHelper (ClientChannel *chand)
 
RefCountedPtr< SubchannelInterfaceCreateSubchannel (ServerAddress address, const grpc_channel_args &args) override ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_ -> work_serializer_)
 Creates a new subchannel with the specified channel args. More...
 
absl::string_view GetAuthority () override
 Returns the channel authority. More...
 
void RequestReresolution () override ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_ -> work_serializer_)
 Requests that the resolver re-resolve. More...
 
void UpdateState (grpc_connectivity_state state, const absl::Status &status, std::unique_ptr< LoadBalancingPolicy::SubchannelPicker > picker) override ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_ -> work_serializer_)
 
 ~ClientChannelControlHelper () override
 
- Public Member Functions inherited from grpc_core::LoadBalancingPolicy::ChannelControlHelper
 ChannelControlHelper ()=default
 
virtual ~ChannelControlHelper ()=default
 

Static Private Member Functions

static channelz::ChannelTrace::Severity ConvertSeverityEnum (TraceSeverity severity)
 

Private Attributes

ClientChannelchand_
 

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

Detailed Description

Definition at line 869 of file client_channel.cc.

Constructor & Destructor Documentation

◆ ClientChannelControlHelper()

grpc_core::ClientChannel::ClientChannelControlHelper::ClientChannelControlHelper ( ClientChannel chand)
inlineexplicit

Definition at line 872 of file client_channel.cc.

◆ ~ClientChannelControlHelper()

grpc_core::ClientChannel::ClientChannelControlHelper::~ClientChannelControlHelper ( )
inlineoverride

Definition at line 876 of file client_channel.cc.

Member Function Documentation

◆ AddTraceEvent()

void grpc_core::ClientChannel::ClientChannelControlHelper::AddTraceEvent ( TraceSeverity  severity,
absl::string_view  message 
) -> work_serializer_)
inlineoverridevirtual

◆ ConvertSeverityEnum()

static channelz::ChannelTrace::Severity grpc_core::ClientChannel::ClientChannelControlHelper::ConvertSeverityEnum ( TraceSeverity  severity)
inlinestaticprivate

Definition at line 995 of file client_channel.cc.

◆ CreateSubchannel()

RefCountedPtr<SubchannelInterface> grpc_core::ClientChannel::ClientChannelControlHelper::CreateSubchannel ( ServerAddress  address,
const grpc_channel_args args 
) -> work_serializer_)
inlineoverridevirtual

Creates a new subchannel with the specified channel args.

Implements grpc_core::LoadBalancingPolicy::ChannelControlHelper.

Definition at line 881 of file client_channel.cc.

◆ GetAuthority()

absl::string_view grpc_core::ClientChannel::ClientChannelControlHelper::GetAuthority ( )
inlineoverridevirtual

Returns the channel authority.

Implements grpc_core::LoadBalancingPolicy::ChannelControlHelper.

Definition at line 980 of file client_channel.cc.

◆ RequestReresolution()

void grpc_core::ClientChannel::ClientChannelControlHelper::RequestReresolution ( ) -> work_serializer_)
inlineoverridevirtual

Requests that the resolver re-resolve.

Implements grpc_core::LoadBalancingPolicy::ChannelControlHelper.

Definition at line 971 of file client_channel.cc.

◆ UpdateState()

void grpc_core::ClientChannel::ClientChannelControlHelper::UpdateState ( grpc_connectivity_state  state,
const absl::Status status,
std::unique_ptr< LoadBalancingPolicy::SubchannelPicker  
) -> work_serializer_)
inlineoverridevirtual

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

Implements grpc_core::LoadBalancingPolicy::ChannelControlHelper.

Definition at line 951 of file client_channel.cc.

Member Data Documentation

◆ chand_

ClientChannel* grpc_core::ClientChannel::ClientChannelControlHelper::chand_
private

Definition at line 1002 of file client_channel.cc.


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


grpc
Author(s):
autogenerated on Thu Mar 13 2025 03:04:00