Classes | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
grpc_core::AsyncConnectivityStateWatcherInterface Class Referenceabstract

#include <connectivity_state.h>

Inheritance diagram for grpc_core::AsyncConnectivityStateWatcherInterface:
Inheritance graph
[legend]

Classes

class  Notifier
 

Public Member Functions

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
 

Protected Member Functions

 AsyncConnectivityStateWatcherInterface (std::shared_ptr< WorkSerializer > work_serializer=nullptr)
 
virtual void OnConnectivityStateChange (grpc_connectivity_state new_state, const absl::Status &status)=0
 
- 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 ()
 

Private Attributes

std::shared_ptr< WorkSerializerwork_serializer_
 

Detailed Description

Definition at line 64 of file src/core/lib/transport/connectivity_state.h.

Constructor & Destructor Documentation

◆ ~AsyncConnectivityStateWatcherInterface()

grpc_core::AsyncConnectivityStateWatcherInterface::~AsyncConnectivityStateWatcherInterface ( )
overridedefault

◆ AsyncConnectivityStateWatcherInterface()

grpc_core::AsyncConnectivityStateWatcherInterface::AsyncConnectivityStateWatcherInterface ( std::shared_ptr< WorkSerializer work_serializer = nullptr)
inlineexplicitprotected

Definition at line 79 of file src/core/lib/transport/connectivity_state.h.

Member Function Documentation

◆ Notify()

void grpc_core::AsyncConnectivityStateWatcherInterface::Notify ( grpc_connectivity_state  new_state,
const absl::Status status 
)
finalvirtual

◆ OnConnectivityStateChange()

virtual void grpc_core::AsyncConnectivityStateWatcherInterface::OnConnectivityStateChange ( grpc_connectivity_state  new_state,
const absl::Status status 
)
protectedpure virtual

Member Data Documentation

◆ work_serializer_

std::shared_ptr<WorkSerializer> grpc_core::AsyncConnectivityStateWatcherInterface::work_serializer_
private

Definition at line 88 of file src/core/lib/transport/connectivity_state.h.


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


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