GRPC Core
9.0.0
|
A proxy object implemented by the client channel and used by the LB policy to communicate with the channel. More...
#include <lb_policy.h>
Public Types | |
enum | TraceSeverity { TRACE_INFO, TRACE_WARNING, TRACE_ERROR } |
Adds a trace message associated with the channel. More... | |
Public Member Functions | |
ChannelControlHelper ()=default | |
virtual | ~ChannelControlHelper ()=default |
virtual RefCountedPtr< SubchannelInterface > | CreateSubchannel (const grpc_channel_args &args)=0 |
Creates a new subchannel with the specified channel args. More... | |
virtual void | UpdateState (grpc_connectivity_state state, std::unique_ptr< SubchannelPicker >)=0 |
Sets the connectivity state and returns a new picker to be used by the client channel. More... | |
virtual void | RequestReresolution ()=0 |
Requests that the resolver re-resolve. More... | |
virtual void | AddTraceEvent (TraceSeverity severity, StringView message)=0 |
A proxy object implemented by the client channel and used by the LB policy to communicate with the channel.
|
default |
|
virtualdefault |
|
pure virtual |
Implemented in grpc_core::ResolvingLoadBalancingPolicy::ResolvingControlHelper.
|
pure virtual |
Creates a new subchannel with the specified channel args.
Implemented in grpc_core::ResolvingLoadBalancingPolicy::ResolvingControlHelper.
|
pure virtual |
Requests that the resolver re-resolve.
Implemented in grpc_core::ResolvingLoadBalancingPolicy::ResolvingControlHelper.
|
pure virtual |
Sets the connectivity state and returns a new picker to be used by the client channel.
Implemented in grpc_core::ResolvingLoadBalancingPolicy::ResolvingControlHelper.