|
GRPC C++
1.26.0
|
#include <channelz.h>
Public Member Functions | |
| ChannelNode (std::string target, size_t channel_tracer_max_nodes, intptr_t parent_uuid) | |
| intptr_t | parent_uuid () const |
| grpc_json * | RenderJson () override |
| void | AddTraceEvent (ChannelTrace::Severity severity, const grpc_slice &data) |
| void | AddTraceEventWithReference (ChannelTrace::Severity severity, const grpc_slice &data, RefCountedPtr< BaseNode > referenced_channel) |
| void | RecordCallStarted () |
| void | RecordCallFailed () |
| void | RecordCallSucceeded () |
| void | SetConnectivityState (grpc_connectivity_state state) |
| void | AddChildChannel (intptr_t child_uuid) |
| void | RemoveChildChannel (intptr_t child_uuid) |
| void | AddChildSubchannel (intptr_t child_uuid) |
| void | RemoveChildSubchannel (intptr_t child_uuid) |
Public Member Functions inherited from grpc_core::channelz::BaseNode | |
| virtual | ~BaseNode () |
| char * | RenderJsonString () |
| EntityType | type () const |
| intptr_t | uuid () const |
| const std::string & | name () const |
Public Member Functions inherited from grpc_core::RefCounted< BaseNode > | |
| ~RefCounted ()=default | |
| RefCountedPtr< BaseNode > | Ref () GRPC_MUST_USE_RESULT |
| RefCountedPtr< BaseNode > | Ref (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT |
| void | Unref () |
| void | Unref (const DebugLocation &location, const char *reason) |
| bool | RefIfNonZero () |
| bool | RefIfNonZero (const DebugLocation &location, const char *reason) |
| RefCounted (const RefCounted &)=delete | |
| RefCounted & | operator= (const RefCounted &)=delete |
Public Member Functions inherited from grpc_core::PolymorphicRefCount | |
| virtual | ~PolymorphicRefCount ()=default |
Static Public Member Functions | |
| static const char * | GetChannelConnectivityStateChangeString (grpc_connectivity_state state) |
Friends | |
| class | testing::ChannelNodePeer |
Additional Inherited Members | |
Public Types inherited from grpc_core::channelz::BaseNode | |
| enum class | EntityType { kTopLevelChannel , kInternalChannel , kSubchannel , kServer , kSocket } |
Protected Member Functions inherited from grpc_core::channelz::BaseNode | |
| BaseNode (EntityType type, std::string name) | |
Protected Member Functions inherited from grpc_core::RefCounted< BaseNode > | |
| RefCounted (TraceFlagT *trace_flag=nullptr, intptr_t initial_refcount=1) | |
| grpc_core::channelz::ChannelNode::ChannelNode | ( | std::string | target, |
| size_t | channel_tracer_max_nodes, | ||
| intptr_t | parent_uuid | ||
| ) |
| void grpc_core::channelz::ChannelNode::AddChildChannel | ( | intptr_t | child_uuid | ) |
| void grpc_core::channelz::ChannelNode::AddChildSubchannel | ( | intptr_t | child_uuid | ) |
|
inline |
|
inline |
|
static |
|
inline |
|
inline |
|
inline |
|
inline |
| void grpc_core::channelz::ChannelNode::RemoveChildChannel | ( | intptr_t | child_uuid | ) |
| void grpc_core::channelz::ChannelNode::RemoveChildSubchannel | ( | intptr_t | child_uuid | ) |
|
overridevirtual |
Implements grpc_core::channelz::BaseNode.
| void grpc_core::channelz::ChannelNode::SetConnectivityState | ( | grpc_connectivity_state | state | ) |
|
friend |