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

Public Member Functions

void Cancel ()
 
 ExternalConnectivityWatcher (ClientChannel *chand, grpc_polling_entity pollent, grpc_connectivity_state *state, grpc_closure *on_complete, grpc_closure *watcher_timer_init)
 
void Notify (grpc_connectivity_state state, const absl::Status &) override
 
 ~ExternalConnectivityWatcher () override
 
- 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
 

Static Public Member Functions

static void RemoveWatcherFromExternalWatchersMap (ClientChannel *chand, grpc_closure *on_complete, bool cancel)
 

Private Member Functions

void AddWatcherLocked () ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_ -> work_serializer_)
 
void RemoveWatcherLocked () ABSL_EXCLUSIVE_LOCKS_REQUIRED(*chand_ -> work_serializer_)
 

Private Attributes

ClientChannelchand_
 
std::atomic< booldone_ {false}
 
grpc_connectivity_state initial_state_
 
grpc_closureon_complete_
 
grpc_polling_entity pollent_
 
grpc_connectivity_statestate_
 
grpc_closurewatcher_timer_init_
 

Additional Inherited Members

- 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 179 of file client_channel.h.

Constructor & Destructor Documentation

◆ ExternalConnectivityWatcher()

grpc_core::ClientChannel::ExternalConnectivityWatcher::ExternalConnectivityWatcher ( ClientChannel chand,
grpc_polling_entity  pollent,
grpc_connectivity_state state,
grpc_closure on_complete,
grpc_closure watcher_timer_init 
)

Definition at line 696 of file client_channel.cc.

◆ ~ExternalConnectivityWatcher()

grpc_core::ClientChannel::ExternalConnectivityWatcher::~ExternalConnectivityWatcher ( )
override

Definition at line 726 of file client_channel.cc.

Member Function Documentation

◆ AddWatcherLocked()

void grpc_core::ClientChannel::ExternalConnectivityWatcher::AddWatcherLocked ( ) -> work_serializer_)
private

Definition at line 791 of file client_channel.cc.

◆ Cancel()

void grpc_core::ClientChannel::ExternalConnectivityWatcher::Cancel ( )

Definition at line 776 of file client_channel.cc.

◆ Notify()

void grpc_core::ClientChannel::ExternalConnectivityWatcher::Notify ( grpc_connectivity_state  state,
const absl::Status  
)
overridevirtual

Implements grpc_core::ConnectivityStateWatcherInterface.

Definition at line 751 of file client_channel.cc.

◆ RemoveWatcherFromExternalWatchersMap()

void grpc_core::ClientChannel::ExternalConnectivityWatcher::RemoveWatcherFromExternalWatchersMap ( ClientChannel chand,
grpc_closure on_complete,
bool  cancel 
)
static

Definition at line 734 of file client_channel.cc.

◆ RemoveWatcherLocked()

void grpc_core::ClientChannel::ExternalConnectivityWatcher::RemoveWatcherLocked ( ) -> work_serializer_)
private

Definition at line 798 of file client_channel.cc.

Member Data Documentation

◆ chand_

ClientChannel* grpc_core::ClientChannel::ExternalConnectivityWatcher::chand_
private

Definition at line 207 of file client_channel.h.

◆ done_

std::atomic<bool> grpc_core::ClientChannel::ExternalConnectivityWatcher::done_ {false}
private

Definition at line 213 of file client_channel.h.

◆ initial_state_

grpc_connectivity_state grpc_core::ClientChannel::ExternalConnectivityWatcher::initial_state_
private

Definition at line 209 of file client_channel.h.

◆ on_complete_

grpc_closure* grpc_core::ClientChannel::ExternalConnectivityWatcher::on_complete_
private

Definition at line 211 of file client_channel.h.

◆ pollent_

grpc_polling_entity grpc_core::ClientChannel::ExternalConnectivityWatcher::pollent_
private

Definition at line 208 of file client_channel.h.

◆ state_

grpc_connectivity_state* grpc_core::ClientChannel::ExternalConnectivityWatcher::state_
private

Definition at line 210 of file client_channel.h.

◆ watcher_timer_init_

grpc_closure* grpc_core::ClientChannel::ExternalConnectivityWatcher::watcher_timer_init_
private

Definition at line 212 of file client_channel.h.


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


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