Public Member Functions | Private Member Functions | Private Attributes | List of all members
grpc_core::ClientChannel::SubchannelWrapper::WatcherWrapper Class Reference
Inheritance diagram for grpc_core::ClientChannel::SubchannelWrapper::WatcherWrapper:
Inheritance graph
[legend]

Public Member Functions

grpc_pollset_setinterested_parties () override
 
WatcherWrapperMakeReplacement ()
 
void OnConnectivityStateChange () override
 
 WatcherWrapper (std::unique_ptr< SubchannelInterface::ConnectivityStateWatcherInterface > watcher, RefCountedPtr< SubchannelWrapper > parent)
 
 ~WatcherWrapper () override
 
- Public Member Functions inherited from grpc_core::Subchannel::ConnectivityStateWatcherInterface
ConnectivityStateChange PopConnectivityStateChange ()
 
void PushConnectivityStateChange (ConnectivityStateChange state_change)
 
 ~ConnectivityStateWatcherInterface () override=default
 
- Public Member Functions inherited from grpc_core::RefCounted< ConnectivityStateWatcherInterface >
RefCountedoperator= (const RefCounted &)=delete
 
RefCountedPtr< ConnectivityStateWatcherInterfaceRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< ConnectivityStateWatcherInterfaceRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
 RefCounted (const RefCounted &)=delete
 
RefCountedPtr< ConnectivityStateWatcherInterfaceRefIfNonZero () GRPC_MUST_USE_RESULT
 
RefCountedPtr< ConnectivityStateWatcherInterfaceRefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
 ~RefCounted ()=default
 
- Public Member Functions inherited from grpc_core::PolymorphicRefCount
virtual ~PolymorphicRefCount ()=default
 

Private Member Functions

void ApplyUpdateInControlPlaneWorkSerializer () ABSL_EXCLUSIVE_LOCKS_REQUIRED(*parent_ -> chand_->work_serializer_)
 

Private Attributes

RefCountedPtr< SubchannelWrapperparent_
 
WatcherWrapperreplacement_ = nullptr
 
std::unique_ptr< SubchannelInterface::ConnectivityStateWatcherInterfacewatcher_
 

Additional Inherited Members

- Public Types inherited from grpc_core::RefCounted< ConnectivityStateWatcherInterface >
using RefCountedChildType = ConnectivityStateWatcherInterface
 
- Protected Member Functions inherited from grpc_core::RefCounted< ConnectivityStateWatcherInterface >
 RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 

Detailed Description

Definition at line 571 of file client_channel.cc.

Constructor & Destructor Documentation

◆ WatcherWrapper()

grpc_core::ClientChannel::SubchannelWrapper::WatcherWrapper::WatcherWrapper ( std::unique_ptr< SubchannelInterface::ConnectivityStateWatcherInterface watcher,
RefCountedPtr< SubchannelWrapper parent 
)
inline

Definition at line 573 of file client_channel.cc.

◆ ~WatcherWrapper()

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

Definition at line 579 of file client_channel.cc.

Member Function Documentation

◆ ApplyUpdateInControlPlaneWorkSerializer()

void grpc_core::ClientChannel::SubchannelWrapper::WatcherWrapper::ApplyUpdateInControlPlaneWorkSerializer ( ) -> chand_->work_serializer_)
inlineprivate

Definition at line 620 of file client_channel.cc.

◆ interested_parties()

grpc_pollset_set* grpc_core::ClientChannel::SubchannelWrapper::WatcherWrapper::interested_parties ( )
inlineoverridevirtual

◆ MakeReplacement()

WatcherWrapper* grpc_core::ClientChannel::SubchannelWrapper::WatcherWrapper::MakeReplacement ( )
inline

Definition at line 613 of file client_channel.cc.

◆ OnConnectivityStateChange()

void grpc_core::ClientChannel::SubchannelWrapper::WatcherWrapper::OnConnectivityStateChange ( )
inlineoverridevirtual

Member Data Documentation

◆ parent_

RefCountedPtr<SubchannelWrapper> grpc_core::ClientChannel::SubchannelWrapper::WatcherWrapper::parent_
private

Definition at line 674 of file client_channel.cc.

◆ replacement_

WatcherWrapper* grpc_core::ClientChannel::SubchannelWrapper::WatcherWrapper::replacement_ = nullptr
private

Definition at line 675 of file client_channel.cc.

◆ watcher_

std::unique_ptr<SubchannelInterface::ConnectivityStateWatcherInterface> grpc_core::ClientChannel::SubchannelWrapper::WatcherWrapper::watcher_
private

Definition at line 673 of file client_channel.cc.


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


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:35