GRPC Core  18.0.0
Data Structures | Public Member Functions | Protected Member Functions
grpc_core::AsyncConnectivityStateWatcherInterface Class Referenceabstract

#include <connectivity_state.h>

Data Structures

class  Notifier
 

Public Member Functions

 ~AsyncConnectivityStateWatcherInterface () override=default
 
void Notify (grpc_connectivity_state new_state, const absl::Status &status) final
 
- Public Member Functions inherited from grpc_core::ConnectivityStateWatcherInterface
 ~ConnectivityStateWatcherInterface () override=default
 
void Orphan () override
 
- 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
 Orphanable (const Orphanable &)=delete
 
Orphanableoperator= (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)
 
 ~InternallyRefCounted () override=default
 
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)
 
- Protected Member Functions inherited from grpc_core::Orphanable
 Orphanable ()
 
virtual ~Orphanable ()
 

Constructor & Destructor Documentation

◆ ~AsyncConnectivityStateWatcherInterface()

grpc_core::AsyncConnectivityStateWatcherInterface::~AsyncConnectivityStateWatcherInterface ( )
overridedefault

◆ AsyncConnectivityStateWatcherInterface()

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

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

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