GRPC C++  1.39.1
Data Structures | Public Member Functions | Static Public Member Functions | Static Public Attributes
grpc_core::ClientChannel Class Reference

#include <client_channel.h>

Data Structures

class  CallData
 
class  ClientChannelControlHelper
 
class  ConnectivityWatcherAdder
 
class  ConnectivityWatcherRemover
 
class  LoadBalancedCall
 
class  ResolverResultHandler
 
class  SubchannelWrapper
 

Public Member Functions

grpc_connectivity_state CheckConnectivityState (bool try_to_connect)
 
void AddExternalConnectivityWatcher (grpc_polling_entity pollent, grpc_connectivity_state *state, grpc_closure *on_complete, grpc_closure *watcher_timer_init)
 
void CancelExternalConnectivityWatcher (grpc_closure *on_complete)
 
int NumExternalConnectivityWatchers () const
 
void AddConnectivityWatcher (grpc_connectivity_state initial_state, OrphanablePtr< AsyncConnectivityStateWatcherInterface > watcher)
 
void RemoveConnectivityWatcher (AsyncConnectivityStateWatcherInterface *watcher)
 
RefCountedPtr< LoadBalancedCallCreateLoadBalancedCall (const grpc_call_element_args &args, grpc_polling_entity *pollent, grpc_closure *on_call_destruction_complete)
 

Static Public Member Functions

static ClientChannelGetFromChannel (grpc_channel *channel)
 

Static Public Attributes

static const grpc_channel_filter kFilterVtable
 

Member Function Documentation

◆ AddConnectivityWatcher()

void grpc_core::ClientChannel::AddConnectivityWatcher ( grpc_connectivity_state  initial_state,
OrphanablePtr< AsyncConnectivityStateWatcherInterface watcher 
)

◆ AddExternalConnectivityWatcher()

void grpc_core::ClientChannel::AddExternalConnectivityWatcher ( grpc_polling_entity  pollent,
grpc_connectivity_state state,
grpc_closure on_complete,
grpc_closure watcher_timer_init 
)
inline

◆ CancelExternalConnectivityWatcher()

void grpc_core::ClientChannel::CancelExternalConnectivityWatcher ( grpc_closure on_complete)
inline

◆ CheckConnectivityState()

grpc_connectivity_state grpc_core::ClientChannel::CheckConnectivityState ( bool  try_to_connect)

◆ CreateLoadBalancedCall()

RefCountedPtr< ClientChannel::LoadBalancedCall > grpc_core::ClientChannel::CreateLoadBalancedCall ( const grpc_call_element_args args,
grpc_polling_entity pollent,
grpc_closure on_call_destruction_complete 
)

◆ GetFromChannel()

ClientChannel * grpc_core::ClientChannel::GetFromChannel ( grpc_channel channel)
static

◆ NumExternalConnectivityWatchers()

int grpc_core::ClientChannel::NumExternalConnectivityWatchers ( ) const
inline

◆ RemoveConnectivityWatcher()

void grpc_core::ClientChannel::RemoveConnectivityWatcher ( AsyncConnectivityStateWatcherInterface watcher)

Field Documentation

◆ kFilterVtable

const grpc_channel_filter grpc_core::ClientChannel::kFilterVtable
static
Initial value:
= {
ClientChannel::StartTransportOp,
sizeof(ClientChannel::CallData),
sizeof(ClientChannel),
ClientChannel::Init,
ClientChannel::Destroy,
ClientChannel::GetChannelInfo,
"client-channel",
}
static void StartTransportStreamOpBatch(grpc_call_element *elem, grpc_transport_stream_op_batch *batch)
Definition: client_channel.cc:1914
static void Destroy(grpc_call_element *elem, const grpc_call_final_info *final_info, grpc_closure *then_schedule_closure)
Definition: client_channel.cc:1899
static void SetPollent(grpc_call_element *elem, grpc_polling_entity *pollent)
Definition: client_channel.cc:2004
static grpc_error_handle Init(grpc_call_element *elem, const grpc_call_element_args *args)
Definition: client_channel.cc:1892

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