#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 | |
| virtual void | AddTraceEvent (TraceSeverity severity, absl::string_view message)=0 |
| 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 absl::string_view | GetAuthority ()=0 |
| Returns the channel authority. More... | |
| virtual void | RequestReresolution ()=0 |
| Requests that the resolver re-resolve. More... | |
| virtual void | UpdateState (grpc_connectivity_state state, const absl::Status &status, std::unique_ptr< SubchannelPicker >)=0 |
| virtual | ~ChannelControlHelper ()=default |
A proxy object implemented by the client channel and used by the LB policy to communicate with the channel.
Definition at line 275 of file lb_policy.h.
Adds a trace message associated with the channel.
| Enumerator | |
|---|---|
| TRACE_INFO | |
| TRACE_WARNING | |
| TRACE_ERROR | |
Definition at line 297 of file lb_policy.h.
|
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 |
Returns the channel authority.
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.