GRPC Core  18.0.0
Data Structures | Public Member Functions
grpc_core::ClientChannel::SubchannelWrapper Class Reference

Public Member Functions

 SubchannelWrapper (ClientChannel *chand, RefCountedPtr< Subchannel > subchannel, absl::optional< std::string > health_check_service_name)
 
 ~SubchannelWrapper () override
 
grpc_connectivity_state CheckConnectivityState () override ABSL_EXCLUSIVE_LOCKS_REQUIRED(chand_ -> work_serializer_)
 
void WatchConnectivityState (grpc_connectivity_state initial_state, std::unique_ptr< ConnectivityStateWatcherInterface > watcher) override
 
void CancelConnectivityStateWatch (ConnectivityStateWatcherInterface *watcher) override
 
void AttemptToConnect () override
 
void ResetBackoff () override
 
const grpc_channel_argschannel_args () override
 
void ThrottleKeepaliveTime (int new_keepalive_time)
 
void UpdateHealthCheckServiceName (absl::optional< std::string > health_check_service_name)
 
ConnectedSubchannelconnected_subchannel () const ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel
 
ConnectedSubchannelconnected_subchannel_in_data_plane () const ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel
 
void set_connected_subchannel_in_data_plane (RefCountedPtr< ConnectedSubchannel > connected_subchannel) ABSL_EXCLUSIVE_LOCKS_REQUIRED(&ClientChannel
 
- Public Member Functions inherited from grpc_core::SubchannelInterface
 SubchannelInterface (const char *trace=nullptr)
 
 ~SubchannelInterface () override=default
 
- Public Member Functions inherited from grpc_core::RefCounted< SubchannelInterface >
 ~RefCounted ()=default
 
RefCountedPtr< SubchannelInterfaceRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< SubchannelInterfaceRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
RefCountedPtr< SubchannelInterfaceRefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< SubchannelInterfaceRefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
 RefCounted (const RefCounted &)=delete
 
RefCountedoperator= (const RefCounted &)=delete
 
- Public Member Functions inherited from grpc_core::PolymorphicRefCount
virtual ~PolymorphicRefCount ()=default
 

Additional Inherited Members

- Protected Member Functions inherited from grpc_core::RefCounted< SubchannelInterface >
 RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 

Constructor & Destructor Documentation

◆ SubchannelWrapper()

grpc_core::ClientChannel::SubchannelWrapper::SubchannelWrapper ( ClientChannel chand,
RefCountedPtr< Subchannel subchannel,
absl::optional< std::string >  health_check_service_name 
)
inline

◆ ~SubchannelWrapper()

grpc_core::ClientChannel::SubchannelWrapper::~SubchannelWrapper ( )
inlineoverride

Member Function Documentation

◆ AttemptToConnect()

void grpc_core::ClientChannel::SubchannelWrapper::AttemptToConnect ( )
inlineoverridevirtual

◆ CancelConnectivityStateWatch()

void grpc_core::ClientChannel::SubchannelWrapper::CancelConnectivityStateWatch ( ConnectivityStateWatcherInterface watcher)
inlineoverridevirtual

◆ channel_args()

const grpc_channel_args* grpc_core::ClientChannel::SubchannelWrapper::channel_args ( )
inlineoverridevirtual

◆ CheckConnectivityState()

grpc_connectivity_state grpc_core::ClientChannel::SubchannelWrapper::CheckConnectivityState ( ) -> work_serializer_)
inlineoverridevirtual

◆ connected_subchannel()

ConnectedSubchannel* grpc_core::ClientChannel::SubchannelWrapper::connected_subchannel ( ) const &
inline

◆ connected_subchannel_in_data_plane()

ConnectedSubchannel* grpc_core::ClientChannel::SubchannelWrapper::connected_subchannel_in_data_plane ( ) const &
inline

◆ ResetBackoff()

void grpc_core::ClientChannel::SubchannelWrapper::ResetBackoff ( )
inlineoverridevirtual

◆ set_connected_subchannel_in_data_plane()

void grpc_core::ClientChannel::SubchannelWrapper::set_connected_subchannel_in_data_plane ( RefCountedPtr< ConnectedSubchannel connected_subchannel) &
inline

◆ ThrottleKeepaliveTime()

void grpc_core::ClientChannel::SubchannelWrapper::ThrottleKeepaliveTime ( int  new_keepalive_time)
inline

◆ UpdateHealthCheckServiceName()

void grpc_core::ClientChannel::SubchannelWrapper::UpdateHealthCheckServiceName ( absl::optional< std::string >  health_check_service_name)
inline

◆ WatchConnectivityState()

void grpc_core::ClientChannel::SubchannelWrapper::WatchConnectivityState ( grpc_connectivity_state  initial_state,
std::unique_ptr< ConnectivityStateWatcherInterface watcher 
)
inlineoverridevirtual

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