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

Public Member Functions

 ConnectedSubchannelStateWatcher (WeakRefCountedPtr< Subchannel > c)
 
 ~ConnectedSubchannelStateWatcher () override
 
- Public Member Functions inherited from grpc_core::AsyncConnectivityStateWatcherInterface
void Notify (grpc_connectivity_state new_state, const absl::Status &status) final
 
 ~AsyncConnectivityStateWatcherInterface () override=default
 
- Public Member Functions inherited from grpc_core::ConnectivityStateWatcherInterface
void Orphan () override
 
 ~ConnectivityStateWatcherInterface () override=default
 
- Public Member Functions inherited from grpc_core::InternallyRefCounted< ConnectivityStateWatcherInterface >
 InternallyRefCounted (const InternallyRefCounted &)=delete
 
InternallyRefCountedoperator= (const InternallyRefCounted &)=delete
 
- Public Member Functions inherited from grpc_core::Orphanable
Orphanableoperator= (const Orphanable &)=delete
 
 Orphanable (const Orphanable &)=delete
 

Private Member Functions

void OnConnectivityStateChange (grpc_connectivity_state new_state, const absl::Status &status) override
 

Private Attributes

WeakRefCountedPtr< Subchannelsubchannel_
 

Additional Inherited Members

- Protected Member Functions inherited from grpc_core::AsyncConnectivityStateWatcherInterface
 AsyncConnectivityStateWatcherInterface (std::shared_ptr< WorkSerializer > work_serializer=nullptr)
 
- Protected Member Functions inherited from grpc_core::InternallyRefCounted< ConnectivityStateWatcherInterface >
 InternallyRefCounted (const char *trace=nullptr, intptr_t initial_refcount=1)
 
RefCountedPtr< ConnectivityStateWatcherInterfaceRef () GRPC_MUST_USE_RESULT
 
RefCountedPtr< ConnectivityStateWatcherInterfaceRef (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT
 
void Unref ()
 
void Unref (const DebugLocation &location, const char *reason)
 
 ~InternallyRefCounted () override=default
 
- Protected Member Functions inherited from grpc_core::Orphanable
 Orphanable ()
 
virtual ~Orphanable ()
 

Detailed Description

Definition at line 306 of file subchannel.cc.

Constructor & Destructor Documentation

◆ ConnectedSubchannelStateWatcher()

grpc_core::Subchannel::ConnectedSubchannelStateWatcher::ConnectedSubchannelStateWatcher ( WeakRefCountedPtr< Subchannel c)
inlineexplicit

Definition at line 310 of file subchannel.cc.

◆ ~ConnectedSubchannelStateWatcher()

grpc_core::Subchannel::ConnectedSubchannelStateWatcher::~ConnectedSubchannelStateWatcher ( )
inlineoverride

Definition at line 313 of file subchannel.cc.

Member Function Documentation

◆ OnConnectivityStateChange()

void grpc_core::Subchannel::ConnectedSubchannelStateWatcher::OnConnectivityStateChange ( grpc_connectivity_state  new_state,
const absl::Status status 
)
inlineoverrideprivatevirtual

Implements grpc_core::AsyncConnectivityStateWatcherInterface.

Definition at line 318 of file subchannel.cc.

Member Data Documentation

◆ subchannel_

WeakRefCountedPtr<Subchannel> grpc_core::Subchannel::ConnectedSubchannelStateWatcher::subchannel_
private

Definition at line 352 of file subchannel.cc.


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


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