GRPC C++  1.39.1
Public Member Functions
grpc_core::ClientChannel::ClientChannelControlHelper Class Reference

Public Member Functions

 ClientChannelControlHelper (ClientChannel *chand)
 
 ~ClientChannelControlHelper () override
 
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...
 
void UpdateState (grpc_connectivity_state state, const absl::Status &status, std::unique_ptr< LoadBalancingPolicy::SubchannelPicker > picker) override ABSL_EXCLUSIVE_LOCKS_REQUIRED(chand_ -> work_serializer_)
 Sets the connectivity state and returns a new picker to be used by the client channel. More...
 
void RequestReresolution () override ABSL_EXCLUSIVE_LOCKS_REQUIRED(chand_ -> work_serializer_)
 Requests that the resolver re-resolve. More...
 
void AddTraceEvent (TraceSeverity severity, absl::string_view message) override ABSL_EXCLUSIVE_LOCKS_REQUIRED(chand_ -> work_serializer_)
 
- 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

◆ ClientChannelControlHelper()

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

◆ ~ClientChannelControlHelper()

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

Member Function Documentation

◆ AddTraceEvent()

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

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

◆ RequestReresolution()

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

Requests that the resolver re-resolve.

Implements grpc_core::LoadBalancingPolicy::ChannelControlHelper.

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


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