|
GRPC Core
18.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 (ServerAddress address, const grpc_channel_args &args)=0 |
| Creates a new subchannel with the specified channel args. More... | |
| virtual void | UpdateState (grpc_connectivity_state state, const absl::Status &status, 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, absl::string_view 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 |
|
pure virtual |
Creates a new subchannel with the specified channel args.
Implemented in grpc_core::ClientChannel::ClientChannelControlHelper, and grpc_core::ChildPolicyHandler::Helper.
|
pure virtual |
Requests that the resolver re-resolve.
Implemented in grpc_core::ClientChannel::ClientChannelControlHelper, and grpc_core::ChildPolicyHandler::Helper.
|
pure virtual |
Sets the connectivity state and returns a new picker to be used by the client channel.
Implemented in grpc_core::ChildPolicyHandler::Helper, and grpc_core::ClientChannel::ClientChannelControlHelper.