#include <channelz.h>

Public Types | |
| enum | EntityType { EntityType::kTopLevelChannel, EntityType::kInternalChannel, EntityType::kSubchannel, EntityType::kServer, EntityType::kSocket } |
Public Types inherited from grpc_core::RefCounted< BaseNode > | |
| using | RefCountedChildType = BaseNode |
Public Member Functions | |
| const std::string & | name () const |
| virtual Json | RenderJson ()=0 |
| std::string | RenderJsonString () |
| EntityType | type () const |
| intptr_t | uuid () const |
| ~BaseNode () override | |
Public Member Functions inherited from grpc_core::RefCounted< BaseNode > | |
| RefCounted & | operator= (const RefCounted &)=delete |
| RefCountedPtr< BaseNode > | Ref () GRPC_MUST_USE_RESULT |
| RefCountedPtr< BaseNode > | Ref (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT |
| RefCounted (const RefCounted &)=delete | |
| RefCountedPtr< BaseNode > | RefIfNonZero () GRPC_MUST_USE_RESULT |
| RefCountedPtr< BaseNode > | RefIfNonZero (const DebugLocation &location, const char *reason) GRPC_MUST_USE_RESULT |
| void | Unref () |
| void | Unref (const DebugLocation &location, const char *reason) |
| ~RefCounted ()=default | |
Public Member Functions inherited from grpc_core::PolymorphicRefCount | |
| virtual | ~PolymorphicRefCount ()=default |
Protected Member Functions | |
| BaseNode (EntityType type, std::string name) | |
Protected Member Functions inherited from grpc_core::RefCounted< BaseNode > | |
| RefCounted (const char *trace=nullptr, intptr_t initial_refcount=1) | |
Private Attributes | |
| std::string | name_ |
| const EntityType | type_ |
| intptr_t | uuid_ |
Friends | |
| class | ChannelzRegistry |
Definition at line 78 of file channelz.h.
|
strong |
| Enumerator | |
|---|---|
| kTopLevelChannel | |
| kInternalChannel | |
| kSubchannel | |
| kServer | |
| kSocket | |
Definition at line 83 of file channelz.h.
|
protected |
Definition at line 59 of file src/core/lib/channel/channelz.cc.
|
override |
Definition at line 65 of file src/core/lib/channel/channelz.cc.
|
inline |
Definition at line 106 of file channelz.h.
|
pure virtual |
| std::string grpc_core::channelz::BaseNode::RenderJsonString | ( | ) |
Definition at line 67 of file src/core/lib/channel/channelz.cc.
|
inline |
Definition at line 104 of file channelz.h.
|
inline |
Definition at line 105 of file channelz.h.
|
friend |
Definition at line 110 of file channelz.h.
|
private |
Definition at line 113 of file channelz.h.
|
private |
Definition at line 111 of file channelz.h.
|
private |
Definition at line 112 of file channelz.h.