GRPC C++
1.26.0
|
#include <channelz.h>
Public Member Functions | |
ServerNode (grpc_server *server, size_t channel_tracer_max_nodes) | |
~ServerNode () override | |
grpc_json * | RenderJson () override |
char * | RenderServerSockets (intptr_t start_socket_id, intptr_t max_results) |
void | AddChildSocket (RefCountedPtr< SocketNode > node) |
void | RemoveChildSocket (intptr_t child_uuid) |
void | AddChildListenSocket (RefCountedPtr< ListenSocketNode > node) |
void | RemoveChildListenSocket (intptr_t child_uuid) |
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 () |
![]() | |
virtual | ~BaseNode () |
char * | RenderJsonString () |
EntityType | type () const |
intptr_t | uuid () const |
const std::string & | name () const |
![]() | |
~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 |
![]() | |
virtual | ~PolymorphicRefCount ()=default |
Additional Inherited Members | |
![]() | |
enum class | EntityType { kTopLevelChannel , kInternalChannel , kSubchannel , kServer , kSocket } |
![]() | |
BaseNode (EntityType type, std::string name) | |
![]() | |
RefCounted (TraceFlagT *trace_flag=nullptr, intptr_t initial_refcount=1) | |
grpc_core::channelz::ServerNode::ServerNode | ( | grpc_server * | server, |
size_t | channel_tracer_max_nodes | ||
) |
|
override |
void grpc_core::channelz::ServerNode::AddChildListenSocket | ( | RefCountedPtr< ListenSocketNode > | node | ) |
void grpc_core::channelz::ServerNode::AddChildSocket | ( | RefCountedPtr< SocketNode > | node | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void grpc_core::channelz::ServerNode::RemoveChildListenSocket | ( | intptr_t | child_uuid | ) |
void grpc_core::channelz::ServerNode::RemoveChildSocket | ( | intptr_t | child_uuid | ) |
|
overridevirtual |
Implements grpc_core::channelz::BaseNode.
char* grpc_core::channelz::ServerNode::RenderServerSockets | ( | intptr_t | start_socket_id, |
intptr_t | max_results | ||
) |