GRPC Core
9.0.0
|
#include <connectivity_state.h>
Public Member Functions | |
ConnectivityStateTracker (const char *name, grpc_connectivity_state state=GRPC_CHANNEL_IDLE) | |
~ConnectivityStateTracker () | |
void | AddWatcher (grpc_connectivity_state initial_state, OrphanablePtr< ConnectivityStateWatcherInterface > watcher) |
void | RemoveWatcher (ConnectivityStateWatcherInterface *watcher) |
void | SetState (grpc_connectivity_state state, const char *reason) |
grpc_connectivity_state | state () const |
|
inline |
grpc_core::ConnectivityStateTracker::~ConnectivityStateTracker | ( | ) |
void grpc_core::ConnectivityStateTracker::AddWatcher | ( | grpc_connectivity_state | initial_state, |
OrphanablePtr< ConnectivityStateWatcherInterface > | watcher | ||
) |
void grpc_core::ConnectivityStateTracker::RemoveWatcher | ( | ConnectivityStateWatcherInterface * | watcher | ) |
void grpc_core::ConnectivityStateTracker::SetState | ( | grpc_connectivity_state | state, |
const char * | reason | ||
) |
grpc_connectivity_state grpc_core::ConnectivityStateTracker::state | ( | ) | const |