Classes | Public Member Functions | Private Attributes | List of all members
grpc_core::Subchannel::ConnectivityStateWatcherInterface Class Referenceabstract

#include <subchannel.h>

Inheritance diagram for grpc_core::Subchannel::ConnectivityStateWatcherInterface:
Inheritance graph
[legend]

Classes

struct  ConnectivityStateChange
 

Public Member Functions

virtual grpc_pollset_setinterested_parties ()=0
 
virtual void OnConnectivityStateChange ()=0
 
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 Attributes

Mutex mu_
 
std::deque< ConnectivityStateChange > connectivity_state_queue_ ABSL_GUARDED_BYmu_
 

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 168 of file subchannel.h.

Constructor & Destructor Documentation

◆ ~ConnectivityStateWatcherInterface()

grpc_core::Subchannel::ConnectivityStateWatcherInterface::~ConnectivityStateWatcherInterface ( )
overridedefault

Member Function Documentation

◆ interested_parties()

virtual grpc_pollset_set* grpc_core::Subchannel::ConnectivityStateWatcherInterface::interested_parties ( )
pure virtual

◆ OnConnectivityStateChange()

virtual void grpc_core::Subchannel::ConnectivityStateWatcherInterface::OnConnectivityStateChange ( )
pure virtual

◆ PopConnectivityStateChange()

Subchannel::ConnectivityStateWatcherInterface::ConnectivityStateChange grpc_core::Subchannel::ConnectivityStateWatcherInterface::PopConnectivityStateChange ( )

Definition at line 574 of file subchannel.cc.

◆ PushConnectivityStateChange()

void grpc_core::Subchannel::ConnectivityStateWatcherInterface::PushConnectivityStateChange ( ConnectivityStateChange  state_change)

Definition at line 567 of file subchannel.cc.

Member Data Documentation

◆ mu_ [1/2]

Mutex grpc_core::Subchannel::ConnectivityStateWatcherInterface::mu_
private

Definition at line 201 of file subchannel.h.

◆ mu_ [2/2]

std::deque<ConnectivityStateChange> connectivity_state_queue_ ABSL_GUARDED_BY& grpc_core::Subchannel::ConnectivityStateWatcherInterface::mu_
private

Definition at line 207 of file subchannel.h.


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


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