
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 | |
| InternallyRefCounted & | operator= (const InternallyRefCounted &)=delete |
Public Member Functions inherited from grpc_core::Orphanable | |
| Orphanable & | operator= (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 | |
| ClientChannel * | chand_ |
| std::atomic< bool > | done_ {false} |
| grpc_connectivity_state | initial_state_ |
| grpc_closure * | on_complete_ |
| grpc_polling_entity | pollent_ |
| grpc_connectivity_state * | state_ |
| grpc_closure * | watcher_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< ConnectivityStateWatcherInterface > | Ref () GRPC_MUST_USE_RESULT |
| RefCountedPtr< ConnectivityStateWatcherInterface > | Ref (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 () |
Definition at line 179 of file client_channel.h.
| 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.
|
override |
Definition at line 726 of file client_channel.cc.
|
private |
Definition at line 791 of file client_channel.cc.
| void grpc_core::ClientChannel::ExternalConnectivityWatcher::Cancel | ( | ) |
Definition at line 776 of file client_channel.cc.
|
overridevirtual |
Implements grpc_core::ConnectivityStateWatcherInterface.
Definition at line 751 of file client_channel.cc.
|
static |
Definition at line 734 of file client_channel.cc.
|
private |
Definition at line 798 of file client_channel.cc.
|
private |
Definition at line 207 of file client_channel.h.
Definition at line 213 of file client_channel.h.
|
private |
Definition at line 209 of file client_channel.h.
|
private |
Definition at line 211 of file client_channel.h.
|
private |
Definition at line 208 of file client_channel.h.
|
private |
Definition at line 210 of file client_channel.h.
|
private |
Definition at line 212 of file client_channel.h.